Hide Clipart | Topics | Search
Log Out | Register | Edit Profile
Last 30 mins | 1 | 2

Calling apache logging experts

Chalanachithram.com DB » New TF Industry Related » Archive through August 14, 2014 » Calling apache logging experts « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Emc2
Legend
Username: Emc2

Post Number: 30343
Registered: 03-2008
Posted From: 108.48.4.211

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 12:50 pm:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bumper:




Category create chesi you can control debug level in that

You have to assign those categories to appropriate appenders
Top of pagePrevious messageNext messageBottom of page Link to this message

Bumper
Junior Artist
Username: Bumper

Post Number: 267
Registered: 07-2014
Posted From: 204.80.61.133

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 12:48 pm:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

i think nenu sariga explani chealedu anukunta kinda example chuste na question ardam avochuu
<appender>
<param>
<param>
<param>
<layout>
<param>
</layout>
</appender>

<appender>
<param>
<param>
<param>
<layout>
<param>
</layout>
</appender>

<appender>
<param>
<param>
<param>
<layout>
<param>
</layout>
</appender>

<logger>
<!-->
<level>
<appender-ref> //// same code pedite oke file 3 location
<appender-ref>
<appender-ref> ///// lo save avutundi but naku info ki oka file ,
</appender-ref></level></logger> ///// debug ki okati ala save cheali anukuntuna

/// ala possible avutunda???
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Legend
Username: Twitter

Post Number: 34143
Registered: 10-2009
Posted From: 198.240.130.75

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 09:42 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bumper:



encode chesi padindhi ...tags lekunda try cheddham (gt lt eq symbols)
log4net aithe lt appender-ref ref eq "RollingAppender" /gt
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Legend
Username: Twitter

Post Number: 34142
Registered: 10-2009
Posted From: 198.240.130.75

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 09:40 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Bumper:



log4net aithe <appender-ref> ani isthamu
Top of pagePrevious messageNext messageBottom of page Link to this message

Jambalahaart_raja
Side Hero
Username: Jambalahaart_raja

Post Number: 4958
Registered: 07-2008
Posted From: 171.159.194.11

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 09:33 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Emc2:




meeku Java lo teliyanidi enti Guruji?
Top of pagePrevious messageNext messageBottom of page Link to this message

Emc2
Legend
Username: Emc2

Post Number: 30337
Registered: 03-2008
Posted From: 108.48.4.211

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 09:29 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

you will have appender tag in log4j xml

<appender>
</appender>

and it will have corresponding category

<category>
</category>

look for these examples you will know how to define
Top of pagePrevious messageNext messageBottom of page Link to this message

Bumper
Junior Artist
Username: Bumper

Post Number: 259
Registered: 07-2014
Posted From: 204.80.61.133

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, August 13, 2014 - 08:44 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

I have a problem while logging ... 3 rolling appenders petali ani plan for every log level like below
myproject-info.log
myproject-debug.log
myproject.warn.log

but appenders ni logger tag lo ela attach chealii.. pls help me out...

example:

<?xml>
<configuration>
<appenders>
<RollingFile name="RollingFile" fileName="logs/app.log" filePattern="logs/app-%d{MM-dd-yyyy}.log.gz"
ignoreExceptions="false">
<patternlayout>
<pattern>%d %p %c{1.} [%t] %m%n</pattern>
</patternlayout>
<timebasedtriggeringpolicy>
</rollingfile>
<console>
<patternlayout>
</console>
<failover>
<failovers>
<appenderref>
</failovers>
</failover>
</appenders>
<loggers>
<root> // ikkada priority error ani undi kada i need 3 for info and debug and warnn
<appenderref>
</root>
</loggers>
</configuration>

}

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x8afc264){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: