The file is created, but it is empty. 
The file catalina.<date>.log is also created and Tomcat writes to it.
/Martin


JoshInWV wrote:
> 
> Isn't Solaris based on a Unix kernel? try \ instead of the / for your
> directory designators.
> 
> On Wed, Sep 9, 2009 at 9:39 AM, Martin L <pml...@gmail.com> wrote:
> 
>>
>> I use this logging.properties file to configure java util logging in
>> tomcat.
>> When a servlet throws a ServletException in the init() method it is shown
>> in
>> the file localhost.<date>.log like this:
>> INFO: startup: WCES: admin started
>> 2009-sep-09 13:44:56 org.apache.catalina.core.ApplicationContext log
>> INFO: startup: WCES: Initializing data access before log4j...
>> 2009-sep-09 13:44:56 org.apache.catalina.core.ApplicationContext log
>> INFO: startup: WCES home
>>
>> path:E:\Projects\Workspaces\Wces\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wcesAdmin\WEB-INF
>> 2009-sep-09 13:44:57 org.apache.catalina.core.StandardContext
>> loadOnStartup
>> SEVERE: Servlet /wcesAdmin threw load() exception
>> javax.servlet.ServletException: Bad data for parameter 'uploadDir',
>> directory did not exist: /WEB-INF/config2
>>
>> This works perfectly in windows, but when I do the same thing in solaris
>> (same properties file) the localhost.<date>.log file is empty. Tomcat
>> does
>> not write anything in the file. Does anyone knows what the problem is?
>> Regards
>> /Martin
>>
>> Tomcat version on solaris : 5.5.27
>> The logging.properties file:
>> http://www.nabble.com/file/p25365227/logging.properties
>> logging.properties
>> --
>> View this message in context:
>> http://www.nabble.com/No-localhost-logging-in-solaris-tp25365227p25365227.html
>> Sent from the Tomcat - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/No-localhost-logging-in-solaris-tp25365227p25371970.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to