Hi Peter,

I'm still on 2.1 too... 

if all you debug levels are set to INFO, you will only get logging 
messages where you implicitly use Log.info(""); and will only get 
Log.error(""); messages typically when a method throws an exception.

I put all my Log.error(); statements in the catch portion of my code.

however, I use Log.debug(); to help when putting an app together and set 
my services.LoggingService.system.level=DEBUG

that is the only thing I notice different about your setup.

HTH,

Jeff Painter
[EMAIL PROTECTED]

On Wed, 26 Mar 2003, peter riegersperger wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> i'm using 2.1 and am very happy that my app is running. maybe in the future 
> ...
> 
> i just modified my code to use the Log object (instead of creating one of my 
> own). but i still don't see any of my messages in turbine.log.
> (all torque messages are in there, btw)
> 
> i have the following in TurbineResources.properties:
> services.LoggingService.facilities=system,debug,security
> services.LoggingService.default=system
> services.LoggingService.loggingConfig=org.apache.turbine.services.logging.PropertiesLoggingConfig
> 
> # A facility for system logging.
> services.LoggingService.system.destination.file=/logs/turbine.log
> services.LoggingService.system.className=org.apache.turbine.services.logging.FileLogger
> services.LoggingService.system.level=INFO
> 
> # A facility for the scheduler service
> # To disable started/stopped messages set the level to ERROR
> services.LoggingService.scheduler.destination.file=/logs/turbine.log
> services.LoggingService.scheduler.className=org.apache.turbine.services.logging.FileLogger
> services.LoggingService.scheduler.level=INFO
> 
> # A facility for debugging applications. Messages will go both
> # to the log file and the server console.
> services.LoggingService.debug.destination.file=/logs/turbine.log
> services.LoggingService.debug.destination.console=true
> services.LoggingService.debug.className=org.apache.turbine.services.logging.FileLogger
> services.LoggingService.debug.level=INFO
> 
> anything suspicious about that?
> 
> thanks,
> 
> rick
> 
> 
> - -- 
> |-
> | peter riegersperger  <[EMAIL PROTECTED]>
> |-
> | subnet
> | platform for media art and experimental technologies
> |-
> | http://www.subnet.at/
> |-
> | muehlbacherhofweg 5 // 5020 salzburg // austria
> |-
> | fon/fax +43/662/842 897
> |- 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+gb3IIMP39JYOy9IRAuZGAJsG1XfI/YSdpypnR2u9XwA6I+SH+gCfVxZ/
> Y0RAVrirbZmN3D62WK+XK0A=
> =u9XJ
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to