DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22770

Logger element within Context element in Context.xml file not getting recognized by 
Tomcat

           Summary: Logger element within Context element in Context.xml
                    file not getting recognized by Tomcat
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina:Modules
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Greetings:

I am able to successfully deploy an application which is not in the standard
"webapps" directory by using a context.xml file within the WEB-INF directory of
the application. 

I attempt to create a log file for the application but log file does not get
created in the logs directory or any other directory. 

<Context cachingAllowed="true" docBase="c:wwwsites/eNotifyWeb" path="/eNotifyWeb">
 <Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs" 
        debug="0"
        prefix="localhost_enotify_log." 
        suffix=".txt" 
        timestamp="true" 
        verbosity="1"/>
</Context>

it appears that the only way a Logger element gets recognized and works is when
the Context element is written within the server.xml file.  The administration
control panel does not recognize the Logger element when generated in this way.
 I think it should get recoginized within the context.xml file as well.

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

Reply via email to