add logging
This commit is contained in:
parent
e74160596d
commit
367e16dcdf
|
@ -41,7 +41,7 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||||
|
|
||||||
public void Run()
|
public void Run()
|
||||||
{
|
{
|
||||||
Task.Run(() => LoadCachedAddress());
|
LoadCachedAddress();
|
||||||
|
|
||||||
_timer = new PeriodicTimer(TimerCallback, null, TimeSpan.FromSeconds(5), TimeSpan.FromHours(3));
|
_timer = new PeriodicTimer(TimerCallback, null, TimeSpan.FromSeconds(5), TimeSpan.FromHours(3));
|
||||||
}
|
}
|
||||||
|
|
|
@ -359,6 +359,8 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||||
{
|
{
|
||||||
var path = CacheFilePath;
|
var path = CacheFilePath;
|
||||||
|
|
||||||
|
_logger.Debug("Loading data from {0}", path);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
lock (_dataFileLock)
|
lock (_dataFileLock)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user