Uploaded image for project: 'logstash'
  1. LOGSTASH-1348

Logstash printing to stdout even with logfile specified

    Details

    • Type: Bug/Feature
    • Status: Resolved (View workflow)
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0, 1.2.1
    • Fix Version/s: None
    • Labels:

      Description

      I'm starting logstash using a custom init script. It runs logstash using the following command:

      java -jar logstash-1.2.1-flatjar.jar agent -l /var/log/logstash-indexer.log -f /etc/logstash/indexer.conf &
      

      Every time the process is started, it is printing some data out to stdout instead of the logfile. Specifically:

      Using milestone 1 codec plugin 'json'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      Using milestone 2 input plugin 'redis'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      Using milestone 1 codec plugin 'json'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      Using milestone 2 input plugin 'redis'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      Using milestone 1 filter plugin 'syslog_pri'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      Using milestone 1 filter plugin 'syslog_pri'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin.  For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
      

      It seems to me that, if the logfile option is specified, all output should be going to the log and not to stdout (unless the stdout output is in use, of course).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                logstash-dev Logstash Developers (Inactive)
                Reporter:
                ardichoke Ryan DeShone
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: