I'll look at this option when I have some time...
> pull the current value, decode it to find out what's currently 'on'
I like this idea.
Perhaps a new option -enabled / -whatson / -logging, that would then return the list of logging currently enabled to the screen (you spelt Filter wrong in you last screenshot btw - 'Fiter' )
And while we are 'requesting' features....the ability to turn on/off logging is good, and being the purpose of this is in theory to allow to do this programatically...it might be nice to also set the log file name as well
I like your idea... +1 in the to do list...
Concerning the file names, I don't think that is a feature I would implement. and the reasons are the following:
- The main objective of this tool is to enable / disable logs... I am using it to enable / disable API / SQL / ESCL logs on our servers (mainly in production) to be able to analyze those logs with pyARLogAnalyzer. It helps me to keep our system healthy from performance point of view (which is critical when you see the size of our CMDB). With that tool the main steps are automated using some scripts, I have just to check the results.
- I want to keep this tool just simple. It does one thing, but it works fine... In that sense, adding too many options for doing other things is not good...
However, if a lot of people are interested by this feature, I can envisage to add it in the to do list...
that's the great part about being the Dev...you get to decide if a feature is going into a product or not
I still have some cosmetics (usage, spell check, packaging, ChangeLog) to do, but it's on the right way...
The new version which will be here soon (after cosmetics) includes :
- -whatson : to know if all logs are disabled or which log is enabled.
- -disableall : to disable all logs
- The other logging options -API, -SQL, etc... are now used to switch the current value (enable if disabled and disable if enabled)
- The non specified logging options are preserved.
I think the updates made are wonderful and will benefit many people
BTW.....'Etat de Geneve' means what?
It's Etat de Genève, but it's only my fourth Java program and I had no time to search how to manage accents correctly in Java, so I wrote Etat de Geneve.
If anyone knows how to do, I am interested...
It means State of Geneva (in Switzerland)...