LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: No log output to disk with Rust server on Ubuntu 22.04 when "rustcarbon" installed

Open xibalbus opened this issue 1 year ago • 4 comments

User story

As a server owner I wish to have rustcarbon installed and still view logs on disk

Game

Rust

Linux distro

Ubuntu 22.04

Command

command: start

Further information

Whenever I install "rustcarbon" using mods-install and then start the server, I stop getting log entries to log/console/rustserver-console.log.

cat log/console/rustserver-console.log

The above command returns an empty log. Also applies to Debian, 9, 10, 11 and Ubuntu 20.04 and centos, Rocky

When manually setting the -logfile in rustserver.cfg via startparameters, it works.

Relevant log output

No response

Steps to reproduce

No response

xibalbus avatar May 24 '23 18:05 xibalbus

exactly same here.... Ubuntu 22 Server Edition

KissmanCZ avatar May 24 '23 20:05 KissmanCZ

The logs output come from the tmux session output. In other words whatever the game server outputs gets logged. It is likely that Carbon itself is preventing the server from outputting the logs.

dgibbs64 avatar Sep 01 '23 21:09 dgibbs64

Same here, seems related: https://github.com/GameServerManagers/LinuxGSM/issues/4309

ervins0x avatar Sep 10 '23 09:09 ervins0x

Add -logfile ${consolelog} to your start parameters

JackoPlane avatar Oct 27 '23 20:10 JackoPlane

-logfile ${gamelog} is the current default. I will close this issue as logs are working as intended by the game server and/or mod

dgibbs64 avatar Jun 13 '24 13:06 dgibbs64