Project

General

Profile

action #135482

Updated by kraih 8 months ago

## Observation 
 While investigating #135122 we noticed that there is currently no log file for the websocket server. Despite one existing for each of the other openQA services on the OSD webui (`/var/log/openqa`, `/var/log/openqa_gru`, `/var/log/openqa_scheduler`). This is currently getting in the way because we can't just add new log messages to the websocket server to help with debugging. Searching the journal for specific log messages is almost impossible since it is too slow. 

 ## Acceptance criteria 
 * **AC1:** A `/var/log/openqa_websockets` log file exists on OSD. 
 * **AC2:** The websocket server log file is logrotated. 

 ## Auggestions 
 - Just replicate the setup for `/var/log/openqa_scheduler` in salt. 

Back