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
3026 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
rolandc
over 9 years ago
We are using 7.11 and I was able to use what you provide to write the CustomLog.log in one of our lower environments using one of the plugins we wrote. Has the plugin recently changed?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rolandc
over 9 years ago
We are using 7.11 and I was able to use what you provide to write the CustomLog.log in one of our lower environments using one of the plugins we wrote. Has the plugin recently changed?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data