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

Minecraft not logging Latest.log #7

Closed
Aonne opened this issue Oct 25, 2023 · 2 comments
Closed

Minecraft not logging Latest.log #7

Aonne opened this issue Oct 25, 2023 · 2 comments
Labels
Minecraft Concerning the minecraft's script

Comments

@Aonne
Copy link
Owner

Aonne commented Oct 25, 2023

No description provided.

@Aonne Aonne added the Minecraft Concerning the minecraft's script label Oct 25, 2023
@Aonne
Copy link
Owner Author

Aonne commented Oct 27, 2023

Sometimes it does, sometimes it doesnt for some reason. If latest.log is renamed to anything but a date it will always be added to minecraft.log, but with the normal "date.log" it won't sometimes. Possible caused by getting the wrong date and to create an empty string. Need more testing.

Could also totally ignore this as Latest.log will be changed to a .gz file on the next session.

@Aonne
Copy link
Owner Author

Aonne commented Nov 12, 2023

Latest.log files were not getting overwritten if more than once file had the same Modification date.
Fixed by adding a suffix after the date, just like .gz files do, that gets delete later in process, just like .gz files do.

@Aonne Aonne closed this as completed Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minecraft Concerning the minecraft's script
Projects
None yet
Development

No branches or pull requests

1 participant