Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to specify a log path for 7D2D #1113

Open
5 tasks done
NZScruffy opened this issue Nov 6, 2024 · 9 comments
Open
5 tasks done

Request to specify a log path for 7D2D #1113

NZScruffy opened this issue Nov 6, 2024 · 9 comments

Comments

@NZScruffy
Copy link

Module Request

Note: Please try setting up a configuration yourself before raising an issue to request a configuration: https://config.getamp.sh/
***There is a newer beta version available at https://iceofwraith.github.io/GenericConfigGen/

Game Information:

Game Title: 7 Days to Die
How to obtain: https://
Suppoted OSs: Windows, Linux
Supports RCON/Console input? Yes

I confirm:

  • that I have searched for an existing module request for this application.
  • that the server is an official server distributed by the games publishers/developers.
  • that the server is available to the general public.
  • that the server can be run headless (without a GUI).
  • I have already attempted to create a configuration myself using the configuration tool

Request to specify Log Path:

Please add a default log path to command-line, or ability to specify a log path in settings. The command-line argument would look like this:

-logfile 7DaysToDieServer_Data\output_log%LOGTIMESTAMP%.txt

The default dedicated server script has the location for the logs in 7DaysToDieServer_Data folder.

Reason for request:

Currently the instance stores the logs in <instance>/AMP_Logs. In order to give users access to the logs, they would have to be given access to ADS, which is a security issue. This request would allow moving the log location to a folder with user instance access.

@IceOfWraith
Copy link
Collaborator

You're looking at the AMP logs there. The server has its own sets of logs the will look similar. Here's a reference that might help. Haven't verified myself.

https://steamcommunity.com/app/251570/discussions/1/1734336452587854805/

@Greelan
Copy link
Collaborator

Greelan commented Nov 6, 2024

The log is indeed in the 7DaysToDieServer_Data directory in the instance datastore

@NZScruffy
Copy link
Author

The log is indeed in the 7DaysToDieServer_Data directory in the instance datastore

In the 3 instances we have running, none of them have any logs in the 7DaysToDieServer_Data folder. I have noticed other users on Discord commenting the same. The logs are not there.

@Greelan
Copy link
Collaborator

Greelan commented Nov 6, 2024

What OS?

@NZScruffy
Copy link
Author

What OS?

OS Linux
Platform Debian GNU/Linux 12

@Greelan
Copy link
Collaborator

Greelan commented Nov 6, 2024

Interesting. I have two running on ARM in docker. The 1.1 server has the log. The A21.2 server doesn't.

It's not an issue as such to add the flag, provided it doesn't then mess with the console output.

@NZScruffy
Copy link
Author

NZScruffy commented Nov 6, 2024

That would be much appreciated. Thanks.

NB: We are running 1.1 also. a Vanilla non-modded, and modded. Unsure why yours has the logs and ours doesn't.

@Greelan
Copy link
Collaborator

Greelan commented Nov 6, 2024

Yeah, adding the -logfile line means that most of the console output disappears, which is not ideal

@Greelan
Copy link
Collaborator

Greelan commented Nov 6, 2024

Why don't you add a virtual dir in the instance that points to the instance's AMP_Logs dir and therefore makes it accessible in the instance file manager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants