Dear guys:<div><br><div> I use syslog-ng to gather the error log of my system, but now I have a problem. The original log message is like this.</div></div><div><br></div><div><i>[<span style="background-color:rgb(255,0,0)">2012-04-10 </span></i><i style="background-color:rgb(255,0,0)">18:51:30</i><i>] [BlenderProcessor.cpp:452:allocPhase1Request()] [WARN] :: BLENDER: queryparser doRewrite function error</i></div>
<div><br></div><div> I set the template like this.</div><div><br></div><div><i>file( "/home/admin/logs/blender.log.$S_YEAR-$S_MONTH-$S_DAY" create_dirs(yes) owner(admin) group(admin) perm(0755) template("$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC\t$FULLHOST\t$MESSAGE\n") );</i></div>
<div><br></div><div> Then I get the log like this.</div><div><br></div><div><i>2012-04-13 14:41:36 s061090.cm5 <span style="background-color:rgb(255,0,0)">18:51:30]</span> [BlenderProcessor.cpp:452:allocPhase1Request()] [WARN] :: BLENDER: queryparser doRewrite function error</i></div>
<div><br></div><div> The date of original log message has been truncated. If I don't use template, it will be ok. So I wonder what is the default template.</div><div><br></div><div> Thank you very much :)</div>