Issue Details (XML | Word | Printable)

Key: GLASSFISH-18200
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: naman_mehta
Reporter: janouskovec
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

custom logger doesn't working

Created: 15/Jan/12 10:25 PM   Updated: 11/Feb/13 09:13 AM   Resolved: 11/Feb/13 09:13 AM
Component/s: logging
Affects Version/s: 3.1.1_b12
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File diff.log (5 kB) 31/Jan/12 10:39 AM - naman_mehta
2. Zip Archive logtest.zip (19 kB) 15/Jan/12 10:25 PM - janouskovec

Environment:

Solaris 10 SPARC


Tags: 3_1_2-exclude
Participants: janouskovec, naman_mehta and Tom Mueller


 Description  « Hide

The custom logger doesn't working.
How simulate: Please deploy application logtest (please see attachment). In index.jsp there are following scriptlets:
<%
Logger logger=Logger.getLogger("logtest");
%>
<%logger.fine("Test log");%>

Now, you add custom logger (via Admin console: Configurations->{config}>Logger Settings>Module Log Levels->Log Levels). Please use "Add logger" button and fill "logtest" value to "Logger name" and "FINE" value to "level". Use "Save" button.
Launch the web application "logtest" (index.jsp is welcome page). In server.log there isn't message "Test log", altough custom logger "logtest" is configured to "FINE" level.



Sort Order: Ascending order - Click to sort in descending order
Tom Mueller made changes - 18/Jan/12 05:58 PM
Field Original Value New Value
Assignee Tom Mueller [ tmueller ] naman_mehta [ naman_mehta ]
Component/s logging [ 10608 ]
Component/s configuration [ 10593 ]
naman_mehta made changes - 24/Jan/12 04:51 AM
Tags 3_1_2_exclude
Joe Di Pol made changes - 24/Jan/12 03:59 PM
Tags 3_1_2_exclude 3_1_2-exclude 3_1_2_exclude
Joe Di Pol made changes - 24/Jan/12 03:59 PM
Tags 3_1_2-exclude 3_1_2_exclude 3_1_2-exclude
naman_mehta made changes - 31/Jan/12 10:32 AM
Tags 3_1_2-exclude 3_1_2-review
naman_mehta made changes - 31/Jan/12 10:39 AM
Attachment diff.log [ 49133 ]
Joe Di Pol made changes - 31/Jan/12 03:13 PM
Tags 3_1_2-review 3_1_2-exclude
naman_mehta made changes - 11/Feb/13 09:13 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]