Home arrow Support arrow Gurock Software Forum arrow General Discussion arrow Disable log using config file ?

Subscribe to forum RSS Forum

Disable log using config file ?

New Topic Post Reply

Page: 1

Author Post
Member
Registered: Jun 2008
Posts: 11
It is possible to disable, by using config files, the log that come only from one session, not all session ?
I have known that in java there is possibility to say
log4j.logger.com.sbs.helper = ERROR

and only few messages that come from this package will be logged.





Thanks
Aurelian
Administrator
Registered: Sep 2007
Posts: 132
Hi Aurelian,

Yes (and no). This feature is currently not part of SmartInspect 2.x but is already implemented for the upcoming SmartInspect 3.0. SmartInspect 3.0 is already in beta and will hopefully come out this/next month. With SmartInspect 2.x, you can only activate/deactivate certain sessions (log levels are only globally supported by the SmartInspect class). To activate/deactivate sessions, you can use the Active property.

New Topic Post Reply

Page: 1