-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I don't think many people miss this feature. There are enough external
tools with which this can be achieved, without any change to cxxtools:

If the logs from cxxtools are the only thing your application writes
to stdout and stderr, you can log to the console and a log file
simultaneously be calling your program like this:

        <program invocation> 2>&1 | tee <logfile>

You can also log only stderr (which AFAIK is the default target for
logging, but maybe you can change that to stdout) like this:

        <program invocation> 2> >(tee <logfile>)

Another possibility would be to let cxxtools log to a file, and then
watch that file for changes, e.g.

        <program invocation> &
        tail -f <logfile>

Am 18.02.2015 um 20:06 schrieb Tommi Mäkitalo:
> Hello,
> 
> sorry but no. I have missed that feature also. Maybe I should
> implement it. It would even be great if we could log with different
> levels to different targets.
> 
> 
> Tommi
> 
> 
> Am 17.02.2015 um 09:05 schrieb Raphael Fuchs:
>> Hello all,
>> 
>> is there an easy way to log to the console and log file at the
>> same time using cxxtools/log?
>> 
>> Best regards Raphael
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>>
>> 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and
>> Dashboards with Interactivity, Sharing, Native Excel Exports, App
>> Integration & more Get technology previously reserved for
>> billion-dollar corporations, FREE 
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>
>>
>>
>> 
_______________________________________________
>> Tntnet-general mailing list [email protected] 
>> https://lists.sourceforge.net/lists/listinfo/tntnet-general
> 
> 
> 
> ------------------------------------------------------------------------------
>
> 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and
> Dashboards with Interactivity, Sharing, Native Excel Exports, App
> Integration & more Get technology previously reserved for
> billion-dollar corporations, FREE 
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>
> 
> 
> 
> _______________________________________________ Tntnet-general
> mailing list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJU5OkbAAoJEChniccSSv3rL4IH/jI5+AZLw9r8W2skfATWmHdl
ypTn1rcqJpQOgOjZBhyPs5QI5H8lUwM6/QTCExBe8R/j2Qs+2ZVqRY1inhXPuDHI
3dS+BNjW4wniW/CLc0X4Z1Va50J5Ksml3JSrNzpcD30iLqoJzBv7Lo5xDR6BXBEy
mBAyS5ZAHT+uLeyr+GnGB1Vw/7zHOVoULvlp8LnaGi0nM2kNwoCsV0V1NN+y0iDE
N7gqdaz3kTMgVeeV3hZCmzlbn0hgpA+E6+yGOhoaxql6PK5hzVMUnK4q59q+LlpK
o2yXBEv1p/UAu0188nVzRJ6XsHGxtsg+E6Rgb7QFEPsCCGJUQy0K05mJGlHAd1I=
=xFjy
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to