Improve the logging level

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 2.4.0
    • Component/s: Indexing

      There are stack traces in the log when you adding a Git repository in Fisheye:

      2010-08-02 23:59:44,779 INFO [IncrementalPinger2] fisheye.app DvcsContext-dumpHandlerErrors - Exception executing command "git show-ref --tags " Non-zero exit code: 1
      com.atlassian.fisheye.plugins.scm.utils.process.ProcessException: Non-zero exit code: 1
      at com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:66)
      at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.finish(ExternalProcess.java:204)
      at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.execute(ExternalProcess.java:218)
      at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:183)
      at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:167)
      at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:163)
      

      The message is harmless and not an error. Basically, it means that when executing "git show-ref --tags" command it returns an exit code 1 when there are no tags. However, if we can improve the logging state, it can avoid a bunch of stack traces in the log and reduce the log size.

              Assignee:
              Unassigned
              Reporter:
              Ming Giet Chong [Atlassian]
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: