cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

logging in Application Service

Former Member
0 Likes
225

Hello,

i am puzzling about using the log destination in custom code in my application service. Does anyone have experience with custom logging in here?

thanks in advance,

best regards,

Rene

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

If you are looking for custom logging then log4j is best to be implemented.

Download it from <a href="http://logging.apache.org/log4j/docs/download.html">Apache</a>

Former Member
0 Likes

Hi Jan,

Thanks for your answer, but a custom logging is not what i what to go for, since caf provides its own logging, or not? a redundant implementation of same functionality is not what i would prefer.

I know log4j and i agree about the implementation.

thanks,

Rene

Former Member
0 Likes

Yes CAF does have the log facility through log-configuration.xml where you can configure the location , severity ...etc.

Can make your problem clear by adding few more words ?

Former Member
0 Likes

Hi Jan,

i know the options of log configuration.xml and i know how to change the destination. My issue is how to use this logging framework in my custom application service code. how can i add some own log statements? i would be very grateful if some code can be provided.

I hope this helps to describe my issue.

thanks in advance,

Rene