Hi Ed,
Looks like ipmidirect plugin has different way of implementation to log the
messages.
In below snippet you can see the logflags="file stderr", to just log the
critical messages, also use all other necessary fields.
## Section for ipmidirect plugin using RMCP:
#handler libipmidirect {
# entity_root = "{SYSTEM_CHASSIS,7}"
# name = "lan" # RMCP
# addr = "localhost" # Host name or IP address
# port = "623" # RMCP port
# auth_type = "none" # none, md2, md5 or straight
# auth_level = "admin" # operator or admin
# username = "arthur"
# password = "pieman"
# IpmiConnectionTimeout = "5000"
# AtcaConnectionTimeout = "1000"
# MaxOutstanding = "1" # Allow parallel processing of
# # ipmi commands; change with care
# logflags = "" # logging off
# # logflags = "file stdout"
# # infos goes to logfile and stdout
# # the logfile are log00.log, log01.log ...
# logfile = "log"
# # if #logfile_max reached replace the oldest one
# logfile_max = "10"
#}
Thanks& Regards,
Hemantha Reddy
From: Ed Lombardo [mailto:[email protected]]
Sent: Wednesday, September 04, 2013 2:12 PM
To: [email protected]
Subject: Re: [Openhpi-devel] openhpi logging
Hi,
When I export OPENHPI_DEBUG=NO, I still get the logs for the cmd and rsp
messages in log:
2013.09.04 20:09:31.143 >cmd 0x01 01 00 00 20 GetDeviceId (00)
2013.09.04 20:09:31.144 <rsp 0x01 01 00 00 20 GetDeviceId (16) 00 15 80 04
20 02 bf a1 00 00 00 5d 00 00 00 05
2013.09.04 20:09:31.144 addr 0x20: add poll. cIpmiMcThread::PollAddr
I echo $OPENHPI_DEBUG and get "NO".
Is there anything else I need to export to just log CRITICAL messages?
Thanks,
Ed
On Wed, Sep 4, 2013 at 2:23 PM, Beecherla, Hemantha
<[email protected]<mailto:[email protected]>> wrote:
Hi Ed ,
OPENHPI_LOG_ON_SEV is used to filter the events.
To log only the critical messages, please set OPENHPI_DEBUG to NO.
export OPENHPI_DEBUG=NO
Thanks& Regards,
Hemantha Reddy
From: Ed Lombardo [mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, September 04, 2013 12:05 PM
To:
[email protected]<mailto:[email protected]>
Subject: [Openhpi-devel] openhpi logging
Hi,
I tried to log only CRITICAL messages to file using the openhpi.conf. The log
file continues to show same data no matter what I put for
global {
OPENHPI_LOG_SEV = "MINOR"
# OPENHPI_ON_EP = "{SYSTEM_CHASSIS,1}"
# OPENHPI_DEBUG = "YES"
}
Does this feature work, what did I miss?
Thanks,
Ed
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Openhpi-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/openhpi-devel
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel