Skip to content

--logfile doesn't output to the specified file #16973

@kneekoo

Description

@kneekoo

Luanti version

Luanti 5.14.0 (Linux)
Using LuaJIT 2.1.1703358377
Built by GCC 13.3
Running on Linux/6.17.0 x86_64
BUILD_TYPE=Release
RUN_IN_PLACE=0
USE_CURL=1
USE_GETTEXT=1
USE_SOUND=1
STATIC_SHAREDIR="/usr/share/luanti"
STATIC_LOCALEDIR="/usr/share/locale"

Operating system and version

Linux Mint 22.3 Cinnamon

CPU model

No response

GPU model

No response

Active renderer

No response

Summary

While trying to get logging data inside a specific file, I ran Luanti like this:

luanti --verbose --logfile luanti-verbose.log

The logging stayed in the terminal, and the specified file was almost empty.

I also tried this, with the same result:
luanti --info --logfile luanti-info.log

Steps to reproduce

Run the two commands and notice how your log file won't receive all the information that you see in the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed bugBug report that has not been confirmed to exist/be reproducible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions