ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportHow to stop broker recording Standard system log

Post new topicReply to topic
How to stop broker recording Standard system log View previous topic :: View next topic
Author Message
shubham_rajput
PostPosted: Tue Mar 13, 2018 1:26 am Post subject: How to stop broker recording Standard system log Reply with quote

Novice

Joined: 29 Aug 2017
Posts: 13

Hi all,
I am having a flow with HTTPS input node configured. Every 5 sec the flow receives request and Broker record standard system log at workpath\components\broker_name\integration_server_uuid\console.txt file in windows.
Since every 5 sec the log gets populated the size gets upto 120 MB within 5 min. Therefore I want to stop the broker to record standard system log.
I have tried the following commands in IIB Console but still the standard system log in console.txt gets populated:
Code:
mqsichangetrace MB8BROKER -u -e default -l none

Code:
mqsichangetrace BrokerA -t -b -l none


Is there some command which can stop broker to record standard system log?
Please help out guys
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Mar 13, 2018 2:05 am Post subject: Reply with quote

Master

Joined: 17 Jul 2017
Posts: 210
Location: UK

Hi...I could be wrong but I don't think there is a standard way to switch off the already redirected stdout/stderr in broker.

What exact info is getting logged at the moment? In case if you have some sort of tracing/trace nodes in the flow it is worth getting those to log the trace details to some other file for which you can then put archiving mechanisms in place.


Last edited by abhi_thri on Tue Mar 13, 2018 5:36 am; edited 2 times in total
Back to top
View user's profile Send private message
shubham_rajput
PostPosted: Tue Mar 13, 2018 2:14 am Post subject: Reply with quote

Novice

Joined: 29 Aug 2017
Posts: 13

Hi there is no Trace node included in the flow.
The standard log that is getting logged in console.txt is generally the certificates and client,server handshake details log since HTTPS input node is used in the flow to receive the request.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 13, 2018 5:18 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25168
Location: Ohio, USA

shubham_rajput wrote:
The standard log that is getting logged in console.txt is generally the certificates and client,server handshake details log since HTTPS input node is used in the flow to receive the request.


On Windows, the broker writes log entries as Windows events. On Linux, it sends log events to the syslog daemon process.

Whatever's writing to that text file isn't an OOTB IBM component.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shubham_rajput
PostPosted: Tue Mar 13, 2018 5:24 am Post subject: Reply with quote

Novice

Joined: 29 Aug 2017
Posts: 13

Hi Vitor,
Thanks for your reply.
This link from IBM Knowledge center mentions that "The broker writes information, warning, and error messages to standard output (STDOUT) and standard error (STDERR)."
Link : https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/au14165_.htm

So I just to know that is it possible to turn off the above logging feature?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 13, 2018 5:46 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25168
Location: Ohio, USA

shubham_rajput wrote:
Hi Vitor,
Thanks for your reply.
This link from IBM Knowledge center mentions that "The broker writes information, warning, and error messages to standard output (STDOUT) and standard error (STDERR)."
Link : https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/au14165_.htm

So I just to know that is it possible to turn off the above logging feature?


Things you learn.

Going to be awkward when we move to 9.0.0.8
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Mar 13, 2018 5:50 am Post subject: Reply with quote

Master

Joined: 17 Jul 2017
Posts: 210
Location: UK

Hi...have you got the JSSE tracing turned on by any chance? check for environment variable IBM_JAVA_OPTIONS=-Djavax.net.debug=true

https://www-01.ibm.com/support/docview.wss?uid=swg21300238

That might explain why you are seeing SSL details getting logged at stdout file.
Back to top
View user's profile Send private message
shubham_rajput
PostPosted: Tue Mar 13, 2018 9:25 pm Post subject: Reply with quote

Novice

Joined: 29 Aug 2017
Posts: 13

Hi Abhi
Thanks for your reply.
From your reply I remembered that Indeed I had added Environment Variable in my local system:
Quote:
IBM_JAVA_OPTIONS=-Djavax.net.debug=true

I just deleted that.
Since the log was still getting generated even though I restarted the broker, I restarted the system since changing environment variables requires system restart sometimes.
After restarting the system I restarted the broker again and now no standard log are getting logged in console.txt.
Thanks a lot for your help.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportHow to stop broker recording Standard system log
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.