[BDS-56] "NO LOG FILE!" before every line in console Created: 13/Sep/18  Updated: 24/Aug/23  Resolved: 19/Aug/20

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.6.1.0
Fix Version/s: None

Type: Bug
Reporter: Mark Assignee: Unassigned
Resolution: Incomplete Votes: 21
Labels: awaiting-response
Environment:

Ubuntu Server 18.04 LTS


Attachments: PNG File 2020-03-07 10_25_35-Administrator_ Command Prompt - bedrock_server.exe.png     Text File bedrock_server_log.txt    
Issue Links:
Duplicate
is duplicated by BDS-73 No Log File and Error Opening Resolved
is duplicated by BDS-216 no log file - error opening whitelist... Resolved
Relates
relates to BDS-43 ops.json and whitelist.json missing Resolved

 Description   

Starting the dedicated server warns NO LOG FILE! on every line. If I knew the name of the file it was expecting I could create it.



 Comments   
Comment by Smell of Curry [ 24/Aug/23 ]

@Mark how does your command work and how can I use it in windows?

Comment by Smell of Curry [ 24/Aug/23 ]

@Loren Johnson How would you change the log locations?

Comment by Loren Johnson [ 11/Aug/23 ]

It is unwise to run any service as administrator. Not a solution to your problem but you might try running instances as normal users who will store logs in different locations. A thought anyway.

Comment by Smell of Curry [ 11/Aug/23 ]

Hey, I'm still having this issue, I'm guessing it has to do with log files on the PC that is stored in the BDS CONTENT LOG LOCATION: `C:\Users\Administrator\AppData\Roaming\logs`.

This issue only occurs when multiple BDS instances are running causing what I'm guessing is a permissions issue for the second bds server.

Please fix this issue, or allow us to change the log file path please!

Comment by Omar Berrow [ 30/Aug/22 ]

still an issue in the latest release (1.19.21)

Comment by [Mojang] Mega_Spud (Jay Wells) [ 19/Aug/20 ]

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Comment by IonicEcko [ 30/Mar/20 ]

Hi Mark,

I've not heard back from you in a while.

In order to keep the Bedrock Dedicated Server project running smoothly I'm going to request this issue be closed as Awaiting Response.

Never fear though! If this is still affecting you in the latest version all you have to do is comment and it will reopen.

Ionic

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 BDS Wiki – 📖 FAQs

Comment by IonicEcko [ 08/Mar/20 ]

Thanks Ben.

The line showing at the top isn't the same as the bug report which was for it showing on every line. I believe the specific bug here has been resolved.

Ionic

Comment by Toba da'Great [ 07/Mar/20 ]

I still receive this error on both Windows and Linux.

Comment by IonicEcko [ 05/Mar/20 ]

Could I ask some other BDS Admins to test the latest release and see if they are able to reproduce?

Using 1.14.32.1 I don't seem to be able to repro this (although I've definitely had it in the past) and a log appears to be present in .\internalStorage (but is file locked until the server is stopped).

Ionic

Comment by Louis Perrochon [ 31/Jul/19 ]

Windows 10: I get NO LOG FILE when i have another server running... Possibly that other server prevents the new server from opening a file. It's not where I expect it to be. Shutting down the other server, makes this server start fine. I can't find the log file, though.

 

Comment by ThePajamaSlime [ 22/Jun/19 ]

same thing here on win 10

Comment by MO [ 18/Mar/19 ]

Strange solution I found: I have 2 hard drives in my computer. I moved the server folder over to the second hard drive, and everything worked. Must be Windows doing something weird.

Comment by TheTopHatJack [ 01/Nov/18 ]

Has anyone found or know the correct path and name of the log file?  I've tried the old vanilla server paths and no luck.

Comment by TheTopHatJack [ 27/Oct/18 ]

@nougator The .log file under the worlds folder is for the worlds database.  That is different that the server.log file that would be the target of the messages in console output.

Comment by Mark [ 24/Sep/18 ]

For now Im just working around it with this quick startup script.    This has been working well, but if you have a really busy server you probably want to rotate the log at some point.

(this is supposed to be all one line, it may wrap in this post)

 

cd /home/bedrock && screen -d -m -S Bedrock /bin/bash -c "LD_LIBRARY_PATH=. /home/bedrock/bedrock_server | tee -a /home/bedrock/mylog.log"

 

 

Comment by Nougator [ 22/Sep/18 ]

it have log file but in your world files

Comment by Jordan [ 18/Sep/18 ]

Has there been any resolution to no logs being saved?

 

Comment by Tanner [ 13/Sep/18 ]

Yeah, I'd really like to be able to have a log file, but I don't see how to set that up to get rid of this message.

Generated at Sat Jan 11 07:12:42 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.