Re: [Boost-bugs] [Boost C++ Libraries] #10238: syslog pri part error in custom severity (init_from_stream)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10238: syslog pri part error in custom severity (init_from_stream)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-24 07:52:08


#10238: syslog pri part error in custom severity (init_from_stream)
-------------------------------+---------------------
  Reporter: anonymous | Owner: andysem
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: log
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 I'm sorry for bad formatting, because it's my first ticket to boost.
 Here is detailed output that i've got

 1) Using enum as severity level
 {{{
 #TextFile - OK
 <DEBUG>[2014-Jul-24 10:27:28.611879] This is a debug severity record
 <INFO>[2014-Jul-24 10:27:28.627501] This is a info severity record
 <WARNING>[2014-Jul-24 10:27:28.658746] This is a warning severity record
 <ERROR>[2014-Jul-24 10:27:28.674369] This is a error severity record
 <CRITICAL>[2014-Jul-24 10:27:28.705613] This is a critical severity
 record

 #Syslog - ERROR PRI PART
 <14> Jul 24 10:27:28 10.10.10.73 test.exe This is a debug severity record
 <14> Jul 24 10:27:28 10.10.10.73 test.exe This is a info severity record
 <14> Jul 24 10:27:28 10.10.10.73 test.exe This is a warning severity
 record
 <14> Jul 24 10:27:28 10.10.10.73 test.exe This is a error severity record
 <14> Jul 24 10:27:28 10.10.10.73 test.exe This is a critical severity
 record
 }}}

 2) using int as severity level
 {{{
 #TextFile - I need %Severity% as text here
 <15>[2014-Jul-24 10:27:28.611879] This is a debug severity record
 <14>[2014-Jul-24 10:27:28.627501] This is a info severity record
 <12>[2014-Jul-24 10:27:28.658746] This is a warning severity record
 <11>[2014-Jul-24 10:27:28.674369] This is a error severity record
 <10>[2014-Jul-24 10:27:28.705613] This is a critical severity record

 #Syslog
 <15> Jul 24 10:44:16 MaZhorWork fmod_test.exe This is a debug severity
 record
 <14> Jul 24 10:44:16 MaZhorWork fmod_test.exe This is a info severity
 record
 <12> Jul 24 10:44:17 MaZhorWork fmod_test.exe This is a warning severity
 record
 <11> Jul 24 10:44:17 MaZhorWork fmod_test.exe This is a error severity
 record
 <10> Jul 24 10:44:17 MaZhorWork fmod_test.exe This is a critical severity
 record
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10238#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC