OPUS4 / opus4-common

Core package for OPUS 4.
Other
0 stars 5 forks source link

OPUSVIER-3657 Refactoring of logging setup #13

Closed kaustabhbarman closed 4 years ago

kaustabhbarman commented 4 years ago

I have created the getInstance() method that will open and use the specified log file. I have tried to create two methods setLog() and getLog(). setLog() needs a logName and an optional format . It will use any specified configuration parameter format in application.ini like logging.log.translation.file.format = ' ' and logging.log.level = ''. For getLog(), I am not sure what exactly to look for here. Should I look for a log file? For now, it will return the logger from setLog().

j3nsch commented 4 years ago

Now the PR has shown up in Jira. Maybe because I fixed the name of the PR. I am not sure.

j3nsch commented 4 years ago

Please add a title to PRs in addition to OPUSVIER-nnnn. I know a lot of ticket numbers but it nevertheless helps me and other people that might have an interest in our development efforts. Thank you!

j3nsch commented 4 years ago

Continued in PR #14