Logging in Services/Jobs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Logging in Services/Jobs

Daniel Abrecht
I'd like to get a separate logfile (not in a database) for each RunningJobInstance or each time a service is invoked, i'd like to get a separate logfile.
I just had a short look at the framework code and think somewhere in the org.ofbiz.service package i must change the code.

Has anybody same requirements or does anybody know wich classes could be affected.

Thanks
Dan
Reply | Threaded
Open this post in threaded view
|

Re: Logging in Services/Jobs

cjhowe
Hi Dan,

With log4j you should be able to create additional loggers and
therefore separate log files that only pay attention to certain
packages.  The settings for it are found in
framework/base/config/debug.properties
and more information can be found here:
http://logging.apache.org/log4j/docs/manual.html

 
--- Daniel Abrecht <[hidden email]> wrote:

>
> I'd like to get a separate logfile (not in a database) for each
> RunningJobInstance or each time a service is invoked, i'd like to get
> a
> separate logfile.
> I just had a short look at the framework code and think somewhere in
> the
> org.ofbiz.service package i must change the code.
>
> Has anybody same requirements or does anybody know wich classes could
> be
> affected.
>
> Thanks
> Dan
>
> --
> View this message in context:
>
http://www.nabble.com/Logging-in-Services-Jobs-tf3356079.html#a9333717
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>