@@ -89,7 +89,8 @@ public function ingest()
8989 )->execute ();
9090 }
9191 catch (PDOException $ e ) {
92- $ this ->_logger ->info ($ e ->getMessage (),
92+ $ this ->_logger ->info (
93+ $ e ->getMessage (),
9394 [
9495 'sql ' => $ updateStatement ,
9596 'stacktrace ' => $ e ->getTraceAsString ()
@@ -284,7 +285,8 @@ public function ingest()
284285 $ f = fopen ($ infile_name , 'w ' );
285286 }
286287 catch (Exception $ e ) {
287- $ this ->_logger ->error ($ e ->getMessage (),
288+ $ this ->_logger ->error (
289+ $ e ->getMessage (),
288290 [
289291 'stacktrace ' => $ e ->getTraceAsString (),
290292 'statement ' => $ load_statement
@@ -308,7 +310,8 @@ public function ingest()
308310 )->execute ();
309311 }
310312 catch (PDOException $ e ) {
311- $ this ->_logger ->error ($ e ->getMessage (),
313+ $ this ->_logger ->error (
314+ $ e ->getMessage (),
312315 [
313316 'sql ' => $ updateStatement ,
314317 'stacktrace ' => $ e ->getTraceAsString ()
@@ -342,7 +345,8 @@ public function ingest()
342345 $ this ->_logger ->info ($ message );
343346
344347 // NOTE: This is needed for the log summary.
345- $ this ->_logger ->notice ('Finished ingestion ' ,
348+ $ this ->_logger ->notice (
349+ 'Finished ingestion ' ,
346350 [
347351 'class ' => get_class ($ this ),
348352 'start_time ' => $ time_start ,
@@ -404,10 +408,11 @@ public function checkForChanges()
404408 $ sadness = false ;
405409 while ($ row = $ stmt ->fetch (PDO ::FETCH_ASSOC ) )
406410 {
407- $ this ->_logger ->critical ('Missing row ' ,
411+ $ this ->_logger ->critical (
412+ 'Missing row ' ,
408413 [
409- 'rowdata ' => print_r ($ row , true ),
410- 'class ' => get_class ($ this )
414+ 'rowdata ' => print_r ($ row , true ),
415+ 'class ' => get_class ($ this )
411416 ]
412417 );
413418 $ sadness = true ;
0 commit comments