web stats
logger.info problem - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 07-01-2008, 06:12 AM
Svetlomir Kasabov Svetlomir Kasabov is offline
OBX.3 Kenobi
Join Date: Feb 2008
Posts: 131
Svetlomir Kasabov
Default logger.info problem


I'm using logger.info and logger.error in my transformer. The problem is - when I use logger.error I get an error message on my "Server Log"-Tab of the Dashbord, but when I use logger.info I don't get any message on the "Server Log"-Tab at all.

Do you know know how to setup Mirth so that I can see not only the errors but the infos too on my "Server Log"-Tab?

Thank you very much!

Reply With Quote
Old 07-01-2008, 02:14 PM
albertosaez albertosaez is offline
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:logger.info problem

To see the INFO messages you need to increase the log level al the log4j configuration file.
Reply With Quote
Old 07-07-2008, 06:52 AM
Svetlomir Kasabov Svetlomir Kasabov is offline
OBX.3 Kenobi
Join Date: Feb 2008
Posts: 131
Svetlomir Kasabov
Default Re:logger.info problem

Thanks for the reply albertosaez,

do you know exactly which property in the /server/conf/log4j.properties should I change in order to edit the log level?



Post edited by: Svetlomir Kasabov, at: 07/07/2008 09:19
Reply With Quote
Old 11-05-2009, 10:35 AM
selcuk selcuk is offline
What's HL7?
Join Date: Apr 2009
Posts: 5
selcuk is on a distinguished road

For anybody who's still searching for the correct property in log4j.properties:
in 1.8.1, it's none of the already existing properties in the log4j.properties. I added the following:
and restarted mirth. And, I can see the logger.info() messages in the console now.

I don't know if this property is the same for all installations so I'll describe how I have constructed it. All messages showing up in the Console have a string inside paranthesis like:
[2009-11-05 11:56:39,334] ERROR (transformer:?): ...
The string till the ':' seems to be the name of the logger. I used logger.error() function and saw that it was just 'transformer' in my case. Adding this to the end of the string 'log4j.logger.' gave me the correct property name to use.

Reply With Quote
Old 01-14-2010, 08:29 AM
josealmeida josealmeida is offline
OBX.1 Kenobi
Join Date: Dec 2009
Location: Portugal
Posts: 28
josealmeida is on a distinguished road

This is very useful! Thanks!

If you want to have the same functionality in the Javascript Writer add

to the \Mirth\conf\log4j.properties

Last edited by josealmeida; 01-14-2010 at 08:35 AM.
Reply With Quote
Old 01-20-2011, 09:30 AM
nelson.wells nelson.wells is offline
OBX.1 Kenobi
Join Date: Sep 2010
Posts: 26
nelson.wells is on a distinguished road
Default Mirth 2?

Did the functionality for the JavaScriptMessageDispatcher change in Mirth 2? I have the logging level set to INFO, and info statements are logged to the dashboard in 1.8 but not in Mirth 2.

This is in regards to a Javascript writer destination.
Reply With Quote
Old 01-26-2011, 07:12 AM
tobi tobi is offline
Mirth Newb
Join Date: Oct 2010
Posts: 9
tobi is on a distinguished road


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading a DB to sending info out LLSender no.4 Support 0 10-06-2008 01:29 PM
Logger.info() question dpagidi Support 2 04-22-2008 10:30 AM
Event Logger in Mirth 1.4? shifting_18 Support 3 04-29-2007 05:12 PM
Share database conn. info. across different destinations? nshaik Development 1 09-18-2006 03:10 PM

All times are GMT -8. The time now is 03:23 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation