Skip to content

Document how to log to syslog rather than file solr.log [JIRA: RIAK-3401] #735

@lucafavatella

Description

@lucafavatella

Riak KV supports enabling logging to syslog via configuration but such configuration appears not to affect yokozuna. Documentation on how to make Yokozuna's Solr log to syslog would be beneficial for users.

Yokozuna logs to solr.log and it appears the log4j properties cannot be changed.


Riak KV 2.2.3 includes yokozuna 2.1.10,
that includes (a modified version of) solr 4.10.4,
that includes log4j 1.2.17,
that includes syslog support.

Recent solr still includes log4j 1.2.17.
Recent log4j 2.x (2.8.1) still includes syslog support.

Solr 4.10.4 includes some examples of log4j properties (1, 2, 3) - apparently logging to file and/or console.
Solr 6.5.0 has similar sample log4j property samples, some templated wrt log dir.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions