ruuvi / ruuvitracker_server

RuuviTracker Server
https://ruuvi.com
BSD 2-Clause "Simplified" License
22 stars 8 forks source link

When running on Heroku log files have double timestamps #46

Open jsyrjala opened 12 years ago

jsyrjala commented 12 years ago
2012-07-20T17:51:24+00:00 app[web.1]: 2012-07-20T17:51:24.117 INFO  ruuvi-server.database.entities: Mapping entities

Need to have logging configuration that is different for heroku and standalone.

jsyrjala commented 12 years ago

http://logback.qos.ch/manual/configuration.html#conditional

jsyrjala commented 12 years ago

env variable LEIN_JVM_OPTS="-Dlogback.configurationFile=logback-heroku.xml" does not work