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

[Bug] the log file is very huge on linux server #758

Closed
Omoinemie opened this issue May 10, 2022 · 6 comments
Closed

[Bug] the log file is very huge on linux server #758

Omoinemie opened this issue May 10, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@Omoinemie
Copy link

I run it on ubuntu server, but the log file is very huge with many "EOF detected.".
unknown
Snipaste_2022-05-10_10-23-50

@Omoinemie Omoinemie added the bug Something isn't working label May 10, 2022
@leonier
Copy link

leonier commented May 10, 2022

I think Grasscutter should add a headless mode that don't require stdin.

@gentlespoon
Copy link
Contributor

There are people trying to implement HTTP API so the server no longer solely relies on STDIN.

The problem OP has can be solved by updating to the latest version and use the proper resource files.

@liizfq
Copy link
Contributor

liizfq commented May 17, 2022

i tried to update the 1.1.2-dev and update the latest resource dir .but the bug was not resolved.

There are people trying to implement HTTP API so the server no longer solely relies on STDIN.

The problem OP has can be solved by updating to the latest version and use the proper resource files.

@liizfq
Copy link
Contributor

liizfq commented May 17, 2022

I resolved the problem throught modify Grasscutter.java startConsole().
catch (EndOfFileException e) { if(input.length()!=0){ Grasscutter.getLogger().info("EOF detected."); } continue; }

@4Benj
Copy link
Member

4Benj commented May 17, 2022

I think #946 is a solution to this, it has not yet been merged.

@exzork
Copy link
Member

exzork commented May 17, 2022

my pr #946 completely disable console input line, so you can't use server console command if you set enableConsole to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants