[publican-list] [Bug 578366] New: Quiet mode to disable ANSI codes in log files

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 31 03:14:14 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Quiet mode to disable ANSI codes in log files

https://bugzilla.redhat.com/show_bug.cgi?id=578366

           Summary: Quiet mode to disable ANSI codes in log files
           Product: Red Hat Enterprise Linux 5
           Version: 5.4
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: publican
        AssignedTo: mhideo at redhat.com
        ReportedBy: sflaniga at redhat.com
         QAContact: desktop-bugs at redhat.com
                CC: publican-list at redhat.com
    Classification: Red Hat
    Target Release: ---


Description of problem:
I'm running publican from a continuous build server (Hudson), and the output is
a little cluttered, partly because Hudson treats logs as plain text.  The same
thing happens if you redirect stderr to a file and view it in plain text mode.

Would it be possible to add a --quiet mode, or --color=never, or perhaps to
auto-detect output streams which don't support ANSI codes?

Version-Release number of selected component (if applicable):
1.6.1

How reproducible:


Steps to Reproduce:
1. publican build > logfile 2>&1
2. /usr/bin/less logfile

Actual results:

 PO file 'de-DE/known_issues.po' not found! Using base XML!
 PO file 'de-DE/migration.po' not found! Using base XML!
 PO file 'de-DE/new_features.po' not found! Using base XML!
 PO file 'de-DE/tech_previews.po' not found! Using base XML!
 PO file 'de-DE/upgrading.po' not found! Using base XML!
 Processing file tmp/de-DE/xml/Common_Content/Conventions.xml

Expected results:

 PO file 'de-DE/known_issues.po' not found! Using base XML!
 PO file 'de-DE/migration.po' not found! Using base XML!
 PO file 'de-DE/new_features.po' not found! Using base XML!
 PO file 'de-DE/tech_previews.po' not found! Using base XML!
 PO file 'de-DE/upgrading.po' not found! Using base XML!
 Processing file tmp/de-DE/xml/Common_Content/Conventions.xml

Additional info:

It would also be nice the quiet mode could override the debug option in case it
is specified in publican.cfg.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list