Re: Problems w/ last s6-log
On 17/02/2015 20:34, Roy Lanek wrote: The problem is w/ the regular express. W/ s6-2.1.1.0 s6-log (...) What's that s6-2.1.1.0 you're speaking of ? Nobody has heard of that around here... The latest release is s6-2.1.1.1, and I cannot reproduce that problem with s6-log here. (In all seriousness, it was a bug. My apologies, thanks for the report, and a fixed version is now available. I realized to my horror that I wasn't even using regular expressions in my s6-log tests, which is why I missed that one. Sheesh.) -- Laurent
Problems w/ last s6-log
The following worked up to s6-2.1.0.1: ... /command/export PATH /command:/etc... multisubstitute { define LOGS /var/log/s6/socklog-klog define IDX \[[0-9]+\] define SID SID[0-9]+ define LBL \[[[:space:]]*[0-9]+\.[0-9]+\] define KRN_ANY kern\.[[:alnum:]]+ } define SIG_ID ${IDX}[[:space:]]${SID} s6-setuidgid log s6-log -bt n5 s100 - +^${KRN_ANY}:[[:space:]]${LBL}[[:space:]]ACPI: ${LOGS}/acpid n5 s100 - +^kern\.warn:[[:space:]]${SIG_ID}[[:space:]] ${LOGS}/fw n5 s100 - +^kern\.warn:[[:space:]]${LBL}[[:space:]]IN= ${LOGS}/aif n5 s100 - f Now, never mind of '-bt' which is solved w/ s6-log -b n5 s100 t ... etc. The problem is w/ the regular express. W/ s6-2.1.1.0 s6-log tells me that '-' is an unrecognized action and that it's a fatal error. I am unable to fix it: what I am doing wrong/misunderstanding? Cheers, /Roy -- 5 anjing menggonggong, kafilah tetap berlalu 5 . 5 l 4 c K W 4 r 3 55 the dogs are barking, the caravan moves on 5 + L1NuX 55 [illustrates useless protest, critic, or 5 sarcasm]