Merge pull request #15437 from calavera/remove_wrong_doc

Remove doc that doesn't apply to Journald.
Upstream-commit: 650d5d5d7a06f4d8bfa0e09b974c4c6351c0af21
Component: engine
This commit is contained in:
David Calavera
2015-08-10 08:44:08 -05:00
@@ -25,8 +25,7 @@ func init() {
}
// New creates a journald logger using the configuration passed in on
// the context. Supported context configuration variables are
// syslog-address, syslog-facility, & syslog-tag.
// the context.
func New(ctx logger.Context) (logger.Logger, error) {
if !journal.Enabled() {
return nil, fmt.Errorf("journald is not enabled on this host")