change behavior to comply with PSR-3 and RFC5424