Project

General

Profile

action #135482

Updated by kraih about 1 year ago

## Motivation 
 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. 

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

 ## Out of scope 
 - Fixing `/var/log/openqa`, which also currently goes to the journal.

Back