Posts: 14
Joined: Jul 2016
Reputation:
1
Does modifying the "mylogging.properties" file and ensuring that "extra.txt" references that file effect the command line version (tinyMediaManagerCMD.exe) execution?
Was hoping to turn it down to INFO but everything I try doesn't not seem to effect the messages written to the console.
Thanks in advance for any help.
Posts: 1,294
Joined: Jan 2011
Reputation:
55
myron
Posting Freak
Posts: 1,294
there is no mylogging.properties?!
(Although we have a logging file inside the tmm.jar, you should not edit this directly - always overwritten)
What do you want to archieve?
INFO logging barely display anything... so its not that useful at all, to see whats going on...
Posts: 14
Joined: Jul 2016
Reputation:
1
2016-09-04, 00:24
(This post was last modified: 2016-09-05, 03:58 by dbeetle.)
Just want to turn off DEBUG level logging for now.
I attempted to add an entry for "-Djava.util.logging.config.file=mylogging.properties" into the "extra.txt" file. The 'mylogging.properties' file that I included had the following lines in hopes of influencing the information output to STDOUT during TMM execution.
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
Posts: 14
Joined: Jul 2016
Reputation:
1
Almost 1 year to the day..
Completely forgot about this thread.
Basically, I was hoping to ONLY show 'INFO' and 'ERROR' class messages in the cmd line output. For now, wrapped in a BAT file and at completion, 'cat/type' output thru grep to limit what's displayed.
Thanks.