Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
5 subscribers
Views
3028 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Appian version 7.11 + JBoss + MySQL. For a custom plugin file, I am
mohammads
Certified Senior Developer
over 9 years ago
Appian version 7.11 + JBoss + MySQL.
For a custom plugin file, I am trying to write logs to a custom log file.
In appian_log4j.properties (available under <Appian_Home>\\ear\\suite.ear\\resources) file, I have added following entries:
####### Custom Plugin Loggers
log4j.logger.com.pblue=DEBUG, CUSTOM_LOG
###### CUSTOM_LOG file appender
log4j.appender.CUSTOM_LOG=org.apache.log4j.RollingFileAppender
log4j.appender.CUSTOM_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.CUSTOM_LOG.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.appender.CUSTOM_LOG.File=${AE_LOGS}/customLog.log
log4j.appender.CUSTOM_LOG.MaxFileSize=10MB
log4j.appender.CUSTOM_LOG.MaxBackupIndex=1000
log4j.appender.CUSTOM_LOG.encoding=UTF-8
I don't see my logs messages in the customLog.log file, though I see below warning message on JBoss console ::
==============
12:37:31,263 INFO [stdout] (http-/0.0.0.0:8080-1) -----------
12:37:31,266 ERROR [st...
appian_log4j.properties
OriginalPostID-188341
OriginalPostID-188341
Discussion posts and replies are publicly visible
Parents
0
mohammads
Certified Senior Developer
over 9 years ago
Thanks Ricordo, I have already added log4j liberary in build path.
This was working on Appian7.8 version and custom logger was going in custom log file.
Refer another post by "Deepti Parikh" on below link :
forum.appian.com/.../custom_log
Can you advise ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mohammads
Certified Senior Developer
over 9 years ago
Thanks Ricordo, I have already added log4j liberary in build path.
This was working on Appian7.8 version and custom logger was going in custom log file.
Refer another post by "Deepti Parikh" on below link :
forum.appian.com/.../custom_log
Can you advise ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data