Changed logging to info level for LDAP

This commit is contained in:
snipe 2019-03-13 15:14:03 -07:00
parent de16fee00a
commit 858d382e26
3 changed files with 4 additions and 4 deletions

View file

@ -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 [];
} }

View file

@ -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);
} }
} }

View file

@ -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);
} }
} }