melicertes / csp

The Cyber Security Platform MeliCERTes is part of the European Strategy for Cyber Security. MeliCERTes is a network for establishing confidence and trust among the national Computer Security Incident Response Teams (CSIRTs) of the Member States and for promoting swift and effective operational cooperation.
Other
31 stars 7 forks source link

Potential misinterpretation due to control characters #40

Closed rommelfs closed 5 years ago

rommelfs commented 5 years ago

There is probably an interpretation problem in the web interface with the control code output on the shell which colorizes the word 'done'. It shows the output as error.

Screenshot 2019-07-16 at 09 19 04

Screenshot 2019-07-16 at 09 18 52
thanosa75 commented 5 years ago

Hi

this is actually due to the output of docker-compose being on stderr rather than stdin. The interpreting logging service attributes ERROR to the stderr by default.

The 'done' is coloured green due to the ASCII control character ESC[32m but this is irrelevant to the ERROR attribution

rommelfs commented 5 years ago

Cool thanks for fixing it.