1
0

Set liquidsoap to log into a file.

This commit is contained in:
Alexander Andreev 2022-08-29 22:17:31 +04:00
parent 7f50eafc89
commit b26f23b4e3
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
2 changed files with 5 additions and 3 deletions

View File

@ -21,8 +21,10 @@ end
settings.server.telnet.set(false) settings.server.telnet.set(false)
settings.harbor.bind_addrs.set(["0.0.0.0"]) settings.harbor.bind_addrs.set(["0.0.0.0"])
settings.log.file.set(false) settings.log.level.set(2)
settings.log.stdout.set(log_stdout) settings.log.file.set(true)
settings.log.file.path.set(log_file_path)
settings.log.stdout.set(false)
fallback_song = mksafe(single(fullpath("fallback.mp3"))) fallback_song = mksafe(single(fullpath("fallback.mp3")))
fallback_song = map_metadata(fallback_alter_title, fallback_song) fallback_song = map_metadata(fallback_alter_title, fallback_song)

View File

@ -1,6 +1,6 @@
# THIS FILE CAN BE SAFELY CHANGED # THIS FILE CAN BE SAFELY CHANGED
log_stdout = false log_file_path = "/var/log/dwelling-radio/liquidsoap.log"
radio_url = "https://radio.arav.top" radio_url = "https://radio.arav.top"
radio_name = "Arav's dwelling / Radio" radio_name = "Arav's dwelling / Radio"