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
+1
person also asked this
people also asked this
Replies
8 replies
Subscribers
6 subscribers
Views
4402 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I have trouble in setting up log4j for plugin code. I got message in the server.
frankq
over 9 years ago
I have trouble in setting up log4j for plugin code. I got message in the server.log "log4j:WARN No appenders could be found for logger (...), log4j:WARN Please initialize the log4j system properly.". I added a line in appian_log4j.properties under the resources folder like: "log4j.logger.<my package name>=INFO". It didn't work. Any suggestions?
OriginalPostID-201230
OriginalPostID-201230
Discussion posts and replies are publicly visible
Parents
0
Tom Ryan
Appian Employee
over 9 years ago
Have you already defined the logger object in your plugin? It would look something like:
private static final Logger LOG = Logger.getLogger(YourClassName.class);
You will also need to make sure to include the Log4j libraries.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tom Ryan
Appian Employee
over 9 years ago
Have you already defined the logger object in your plugin? It would look something like:
private static final Logger LOG = Logger.getLogger(YourClassName.class);
You will also need to make sure to include the Log4j libraries.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data