Jump to content

Very Large Log file


Go to solution Solved by ebr,

Recommended Posts

saitoh183
Posted

  538d1539a0571_logs.jpg

 

I caqnt see them in the dashboard anymore and im guessing its because of there size. Any way to tell it to create a new file after it reaches a certain size? Debugging is off

Koleckai Silvestri
Posted

The server creates a new log file every time it is restarted. You can restart and then delete the older logs.

AdrianW
Posted

Back in the early alpha days, I'm sure there was a scheduled task that could be configured to start a new log - which by default started a new log every 24 hours. Not sure where that went.

saitoh183
Posted

The server creates a new log file every time it is restarted. You can restart and then delete the older logs.

 

 

Back in the early alpha days, I'm sure there was a scheduled task that could be configured to start a new log - which by default started a new log every 24 hours. Not sure where that went.

 

Ok...so i would have to reboot every night to keep the log small...thats not a really good solution..i hope there is something put in place down the line

AdrianW
Posted

Ok...so i would have to reboot every night to keep the log small...thats not a really good solution..i hope there is something put in place down the line

 

Well, you don't need to reboot - just click the restart button in the Web UI which just restarts the MB server process.

Koleckai Silvestri
Posted

If you are running Media Browser as a service, you can use net stop and net start commands in a batch file to do this as well. Then you can use a scheduled task to restart Media Browser while you sleep.

  • Like 1
saitoh183
Posted (edited)

If you are running Media Browser as a service, you can use net stop and net start commands in a batch file to do this as well. Then you can use a scheduled task to restart Media Browser while you sleep.

 

 

Yeah thats what i figured i would have to do but i think the extreme log file size is due to this error repeating itself non-stop

 

2014-06-03 10:45:33.1052 Error - ProviderManager: Error in Media Browser Xml.IsEnabledFor
Unable to cast object of type 'MediaBrowser.Controller.Entities.TV.Episode' to type 'MediaBrowser.Controller.Entities.Game'.
System.InvalidCastException
  at MediaBrowser.Providers.Savers.GameXmlSaver.GetSavePath(IHasMetadata item)
  at MediaBrowser.Providers.Manager.ProviderManager.IsSaverEnabledForItem(IMetadataSaver saver, IHasMetadata item, ItemUpdateType updateType, Boolean includeDisabled)
 
***Created a new Thread for error***
Edited by saitoh183
  • Solution
Posted

Ok...so i would have to reboot every night to keep the log small...thats not a really good solution..i hope there is something put in place down the line

 

No, we automatically start a new log file every day.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...