Skip to content

scriptdebugloglevel in mtaserver.conf has no effect for outputDebugString #2857

@sacr1ficez

Description

@sacr1ficez

Describe the bug

Disabling it fully or changing to different level of this setting has no effect, debug strings will still appear in log file.

Steps to reproduce

  1. Set scriptdebugloglevel to 0 in mtaserver.conf
  2. Do: outputDebugString("test", 4, 255, 127, 0)
  3. Log will appear:
[2022-12-29 16:11:21] test

Version

Client: Multi Theft Auto v1.5.9-release-21488 - Windows 10 x64
Server: MTA:SA Server v1.5.9-release-21487 - Windows 10 x64

Additional context

It seems to be a case only for level 0 and 4. I'm assuming those are not counted as info message.

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions