web stats
separate log file for mirth channel - mirth connect - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2012, 12:41 PM
asharaf asharaf is offline
Mirth Newb
 
Join Date: Feb 2012
Posts: 12
asharaf is on a distinguished road
Default separate log file for mirth channel - mirth connect

Hi

I would like to keep separate log files for each channel(instead of relying on mirth.log).

what is best way to do this in mirth?

I am thinking of writing a global script that will accept channel name(to be used as file name) and log message.

any pointers/ideas highly appreciated.

thanks in advance.

asharaf
Reply With Quote
  #2  
Old 04-13-2012, 05:21 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 3,526
narupley is on a distinguished road
Default

Instead of the channel name, the channel ID is probably the safer way to go, since the name can change, but the ID won't. What sort of logs are you keeping?
Reply With Quote
  #3  
Old 04-13-2012, 09:54 AM
asharaf asharaf is offline
Mirth Newb
 
Join Date: Feb 2012
Posts: 12
asharaf is on a distinguished road
Default

mostly INFO type logging - time taken to complete soap rquest/response, certain keys/IDs etc.

too many channels running so just mirth.log is not enough.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 08:26 AM.


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