got it - just created a new rule in rsyslogd : if $syslogtag startswith '-bash' then { :omfile:$bash;format stop }
so no issue anymore. Thanks! -- WBR, Wladislav Wiebe On 24.11.2014 15:43, Wladislav Wiebe wrote:
Hi! for some reason is this bash logging feature only working when the bash is a "bash", but in case it is a "-bash" it doesn't start logging. Means, a simple use case: ssh user@somemachine $ echo $0 -bash (no bash logging so far) when typing "bash" $ bash $ echo $0 bash --> now logging works. Any reason why it doesn't start logging directly? Or an idea how I can fix this? Thanks a lot in advance! -- WBR, Wladislav Wiebe