Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000372OLVUser Interfacepublic2011-11-03 11:092011-11-13 15:14
ReporterFred 
Assigned ToFred 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version0.0.1-SNAPSHOT 
Target Version1.0.0Fixed in Version 
Summary0000372: Add GUI Console And Default Log File
DescriptionRather than dumping information and errors etc to the terminal, which may not be visible, or popping up heaps of annoying windows, we should switch to outputting to a different PrintStream that dumps to a graphical console that can be opened and closed at any time.

Additionally, the data from this console should be stashed in a log file in the .OpenLogViewer directory near the configuration files and overwritten each time by default.

Config options for the following could be included for bonus points:

1) log level including the usual debug, info, warn, error, quiet etc
2) Date stamping logs instead of over writing them

Once it is tidied up and clean, we can output a lot of great system information and app information to the file and when a user has issues, then can just send it or attach it to help us diagnose those issues smoothly.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0000572)
Fred (administrator)
2011-11-13 15:13

I'm going to use LOGBack + SLF4J for this. I've developed another app using them recently and have some experience, so it should be straight forward to achieve.
User avatar (0000573)
Fred (administrator)
2011-11-13 15:14

Some links on the subject:

http://www.thecoderush.com/easy-java-logging [^]
http://blog.frankel.ch/thoughts-on-java-logging-and-slf4j [^]
http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html [^]


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker