Re: snmp_log with LOG_ERR for success case (Created directory)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYEsB4Yc9DoXC8a31Y1zXDU9bvyP6v5w=W2bbZ5BsLrbA@mail.gmail.com>
On 11 April 2012 14:10, ashok kumar <[email protected]> wrote:
>            if (mkdir(buf, mode) == -1)
>            {
>                free(ourcopy);
>                return SNMPERR_GENERR;
>            } else {
>                snmp_log(LOG_ERR, "Created directory: %s\n", buf);
>            }

Which version of the code are you working with?

The current code has this message logged as LOG_INFO
(and it seems to have been that way since 2007, maybe earlier)

Dave

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.