Skip to content

Commit

Permalink
Merge pull request laravel#7032 from akurtz/patch-1
Browse files Browse the repository at this point in the history
[5.0] Fixed Unintentional Param Ignoring In useSyslog
  • Loading branch information
taylorotwell committed Jan 20, 2015
2 parents 7dd7e35 + 9c04ced commit dfc4a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Log/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function useDailyFiles($path, $days = 0, $level = 'debug')
*/
public function useSyslog($name = 'laravel', $level = 'debug')
{
return $this->monolog->pushHandler(new SyslogHandler('laravel', LOG_USER, $level));
return $this->monolog->pushHandler(new SyslogHandler($name, LOG_USER, $level));
}

/**
Expand Down

0 comments on commit dfc4a69

Please sign in to comment.