rdesantis / hauldata

Database Process Automation made easy.
Apache License 2.0
1 stars 0 forks source link

Logging from dbpa-manage #29

Open rdesantis opened 7 years ago

rdesantis commented 7 years ago

Restore the use of yml file for DropWizard configuration. For logging, add file appender per https://github.com/dropwizard/dropwizard/blob/master/dropwizard-example/example.yml

rdesantis commented 7 years ago

Simply specifying a .yml file with logging configuration on the command line enables logging. However, the Jersey messages from each method invocation are not written to the log file. They go to the console. I haven't figured out how to get them logged.

rdesantis commented 7 years ago

Added logging for errors that aren't reflected back to the user; e.g., scheduled job startup failure.

rdesantis commented 6 years ago

Logging Jersey messages is done using server: requestLog: appenders section in the yml file per https://github.com/dropwizard/dropwizard/blob/master/dropwizard-example/example.yml.

Still need good handling for log4jlog messages in third-party code.