mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Changed logging to info level for LDAP
This commit is contained in:
parent
de16fee00a
commit
858d382e26
|
@ -61,7 +61,7 @@ class LdapSync extends Command
|
||||||
$json_summary = [ "error" => true, "error_message" => $e->getMessage(), "summary" => [] ];
|
$json_summary = [ "error" => true, "error_message" => $e->getMessage(), "summary" => [] ];
|
||||||
$this->info(json_encode($json_summary));
|
$this->info(json_encode($json_summary));
|
||||||
}
|
}
|
||||||
LOG::error($e);
|
LOG::info($e);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ class LdapSync extends Command
|
||||||
$json_summary = [ "error" => true, "error_message" => $e->getMessage(), "summary" => [] ];
|
$json_summary = [ "error" => true, "error_message" => $e->getMessage(), "summary" => [] ];
|
||||||
$this->info(json_encode($json_summary));
|
$this->info(json_encode($json_summary));
|
||||||
}
|
}
|
||||||
LOG::error($e);
|
LOG::info($e);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ class AssetModelsController extends Controller
|
||||||
try {
|
try {
|
||||||
unlink(public_path().'/uploads/models/'.$assetmodel->image);
|
unlink(public_path().'/uploads/models/'.$assetmodel->image);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
\Log::error($e);
|
\Log::info($e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -781,7 +781,7 @@ class AssetsController extends Controller
|
||||||
$filename = 'audit-'.$asset->id.'-'.str_slug(basename($file->getClientOriginalName(), '.'.$extension)).'.'.$extension;
|
$filename = 'audit-'.$asset->id.'-'.str_slug(basename($file->getClientOriginalName(), '.'.$extension)).'.'.$extension;
|
||||||
$file->move($destinationPath, $filename);
|
$file->move($destinationPath, $filename);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
\Log::error($e);
|
\Log::info($e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue