[PATCH]Reduce messages in setup.log

Michael A Chase mchase@ix.netcom.com
Mon Jan 28 20:01:00 GMT 2002


The current setup.exe source has quite a number of messages that announce
method calls.  Most are being sent to setup.log and add bulk to that file
without providing diagnostic benefit.  I have changed the log() calls to
send the messages to setup.log.full only.

I also shortened the messages in iostream.cc to make them more consistent
with the other messages.

The log() call in compress_gz::error() is commented out.  Should the
corresponding call in compress_bz::error() be commented out as well?
--
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

2002-01-25  Michael A Chase <mchase@ix.netcom.com>

    * archive.cc (archive::read): Send log() output only to setup.log.full.
    (archive::write): Ditto.
    (archive::peek): Ditto.
    (archive::tell): Ditto.
    (archive::error): Ditto.
    (archive::next_file_name): Ditto.
    (archive::~archive): Ditto.
    * compress.cc (compress::read): Ditto.
    (compress::write): Ditto.
    (compress::peek): Ditto.
    (compress::tell): Ditto.
    (compress::error): Ditto.
    (compress::next_file_name): Ditto.
    * compress_bz.cc (compress_bz::write): Ditto.
    (compress_bz::peek): Ditto.
    (compress_bz::tell): Ditto.
    (compress_bz::seek): Ditto.
    (compress_bz::error): Ditto.
    * compress_gz.cc (compress_gz::peek): Ditto.
    (compress_gz::tell): Ditto.
    (compress_gz::seek): Ditto.
    (compress_gz::error): Ditto.
    (compress_gz::~compress_gz): Ditto.
    * io_stream_cygfile.cc (io_stream_cygfile::peek): Ditto.
    * io_stream_file.cc (io_stream_file::peek): Ditto.
    * io_stream.cc (io_stream::factory): Ditto.
    (io_stream::~io_stream): Ditto.
    Shortened log() message.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_stream_file.cc-patch
Type: application/octet-stream
Size: 404 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: archive.cc-patch
Type: application/octet-stream
Size: 1274 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compress.cc-patch
Type: application/octet-stream
Size: 1138 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compress_bz.cc-patch
Type: application/octet-stream
Size: 1131 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compress_gz.cc-patch
Type: application/octet-stream
Size: 1222 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_stream.cc-patch
Type: application/octet-stream
Size: 661 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_stream_cygfile.cc-patch
Type: application/octet-stream
Size: 419 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020128/cd2b761f/attachment-0006.obj>


More information about the Cygwin-patches mailing list