mmm ... if my action has next logger "sitemap.action.fileupload" ... where can I find the log file????
sitemap.log - you can configure this differently if you wish - for example have all sitemap.action.fileupload logs go into one separate log file.
It is not into /WEB-INF/logs ... and ... do I have to activate any log option in any config file???
If the logs are not showing up in sitemap.log, you have not updated logkit.xconf with your desired log level. If you are doing getLogger.debug(...) then you must have a log level of DEBUG or lower set up for that target in logkit.xconf or you won't get anything. That's what the log levels are for - and Cocoon ships with a high log level (high=restrictive, like "ERROR" or "FATAL" - don't remember) so that people don't deploy live instances with too much logging by default.
Geoff
Thanks ----- Original Message ----- From: "Geoff Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 5:57 PM Subject: Re: Uploading files with Cocoon 2.1 (one more)
Josep Riudavets wrote:
If you still have a problem please post the logfile output for the
success
case and the error case with logging set to DEBUG.
mmm ... where is the debug file? I can't find it !!!
build/webapp/WEB-INF/logs/ contain the files
and
build/webapp/WEB-INF/logkit.xconf contains the configurations (not set to DEBUG by default).
Note that editing logkit.xconf under build/webapp is quicker but will get overwritten if you rebuild cocoon. There is a build property (read build.properties and README.txt and INSTALL.txt carefully) if you need to persist your changes. You can also use the XPatch task if you need to get more complicated (see Wiki for documentation).
Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
