Winston Chen
Winston Chen

Reputation: 6879

Where to configure lift env to production that hides the stack traces?

I deployed my lift application to production. However, I found that the stack traces are not hidden. Where is the place to set the environment configuration to production in lift, so that the stack traces will no longer show?

Upvotes: 2

Views: 122

Answers (1)

VasiliNovikov
VasiliNovikov

Reputation: 10256

In tomcat you can set this setting in:

/etc/tomcat6/catalina.properties

If you want to test this behaveour with SBT, use:

./sbt -Drun.mode=production

Upvotes: 1

Related Questions