You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/01/26 09:38:31 UTC

DO NOT REPLY [Bug 48614] New: Tomcat does not display logs

https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

           Summary: Tomcat does not display logs
           Product: Tomcat 6
           Version: 6.0.24
          Platform: HP
        OS/Version: Windows Server 2008 (Longhorn)
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: osegarra@gencat.net


Hi, 

Logs are not flushed at startup. 

When I stop service I can see the whole stack (startup and shutdown) but I
cannot see any message at catalina.out while service is running.

I'm using the default server.xml.

Thanks in advance!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

oscar <os...@gencat.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2
           Severity|blocker                     |minor

--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-01-26 03:30:53 GMT ---
This is an unwanted side-effect of adding support for encoding to JULI.
Buffering was also made configurable but there is some unexpected buffering
going on in the classes that do the encoding. You can revert to the original
behaviour by setting bufferSize=-1 for your log handlers.

Looks like either the default bufferSize needs changing or we need to find a
way to avoid the buffering in encoding.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

--- Comment #6 from oscar <os...@gencat.net> 2010-01-26 03:53:47 UTC ---
Created an attachment (id=24888)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24888)
logging.properties

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

oscar <os...@gencat.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |blocker

--- Comment #4 from oscar <os...@gencat.net> 2010-01-26 03:39:14 UTC ---
I will change priority due to a lack of logs is blocking to set this server in
production environment.

Thanks in advance...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

--- Comment #7 from oscar <os...@gencat.net> 2010-01-26 03:54:41 UTC ---
Hi, 

This workarround has worked perfectly. I have attached my logging.properties in
order to help anybody experiencing the same issue.

Thanks a lot.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

--- Comment #1 from oscar <os...@gencat.net> 2010-01-26 00:44:18 UTC ---
More info:

* Note that I have tested tomcat 6.0.20 and logs were displayed successfuly
* Note that we are using tomcat 6.0.24 64bits on windows 2008 x64

Thanks a lot!

> Hi, 
> Logs are not flushed at startup. 
> When I stop service I can see the whole stack (startup and shutdown) but I
> cannot see any message at catalina.out while service is running.
> I'm using the default server.xml.
> Thanks in advance!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |minor

--- Comment #5 from Mark Thomas <ma...@apache.org> 2010-01-26 03:44:31 GMT ---
bufferSize is explained in the logging documentation:
http://tomcat.apache.org/tomcat-6.0-doc/logging.html

For example:
1catalina.org.apache.juli.FileHandler.bufferSize=-1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Mark Thomas <ma...@apache.org> 2010-02-10 23:07:12 UTC ---
The fix has been applied to 6.0.x and will be included in 6.0.25 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

tahitiangabriel <gl...@piti.pf> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glandon@piti.pf

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

--- Comment #3 from oscar <os...@gencat.net> 2010-01-26 03:37:45 UTC ---
Hi, 

I have been trying to find where can I change the BufferSize and there is no
configuration file containing:

bufferSize

If it is not possible to change it I will have to revert to 6.0.20 where flush
worked perfectly.

Where can I change this property ?

Thanks a lot!!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 48614] Tomcat does not display logs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614

--- Comment #8 from Mark Thomas <ma...@apache.org> 2010-01-31 16:29:48 GMT ---
This has been fixed in trunk and proposed for 6.0.x by Filip

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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