airsonic-advanced / airsonic-advanced/airsonic-advanced

airwaive.log automatic cutoff/rotation

Ouverte
#941 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
1.4k
Forks
159
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Problem description

What decides to cutoff or rotate and compress the airsonic.log file?
it is a pain when trying to debug or watch something, when suddenly the logfile rotates
then we miss information while watching.
To get all the info, we would have to uncompress & rename the rotated files

Not a critical problem, just very annoying.

Is there a parameter which decides when to rotate the log?

### Steps to reproduce

1. Turn on debugging
2. tail -f /var/airsonic/airsonic.log
3. Wait between 5 and 10 minutes and the tail -f will have stopped, because the airsonic.log file will have rotated again.
4. you have to restart the tail -f to continue watching

## System information

Airsonic version: 11.0.0-SNAPSHOT.20220625052932
Operating system: Linux CentOS 7
Java version:
openjdk version "11.0.14" 2022-01-18 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.14+9-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.14+9-LTS, mixed mode, sharing)
Apache Tomcat/9.0.48, java 11.0.14, Linux (351.5 MB / 528.0 MB)
Proxy server: None
Client: Chrome Version 104.0.5112.102 (Official Build) (64-bit)
Language: EN

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.