Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500142 - sys-devel/distcc decrease log level in distccd.service
Summary: sys-devel/distcc decrease log level in distccd.service
Status: RESOLVED DUPLICATE of bug 493680
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
: 530106 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-03 00:03 UTC by Alex Xu (Hello71)
Modified: 2018-12-08 10:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2014-02-03 00:03:22 UTC
ExecStart=... --verbose

according to man page, this is equivalent to a log level of debug and spews tons of debugging messages to journal.

output from a single compile job:
(dcc_check_client) connection from 192.168.0.100:54242
(dcc_check_address) match client 0x6400a8c0, value 0, mask 0
(dcc_r_token_int) got DIST00000001
(dcc_r_token_int) got ARGC00000013
(dcc_r_argv) reading 19 arguments from job submission
(dcc_r_token_int) got ARGV00000017
(dcc_r_token_string) got 'x86_64-pc-linux-gnu-g++'
(dcc_r_argv) argv[0] = "x86_64-pc-linux-gnu-g++"
(dcc_r_token_int) got ARGV0000000d
(dcc_r_token_string) got '-fuse-ld=gold'
(dcc_r_argv) argv[1] = "-fuse-ld=gold"
(dcc_r_token_int) got ARGV00000005
(dcc_r_token_string) got '-fPIC'
(dcc_r_argv) argv[2] = "-fPIC"
(dcc_r_token_int) got ARGV00000005
(dcc_r_token_string) got '-Wall'
(dcc_r_argv) argv[3] = "-Wall"
(dcc_r_token_int) got ARGV00000007
(dcc_r_token_string) got '-Wextra'
(dcc_r_argv) argv[4] = "-Wextra"
(dcc_r_token_int) got ARGV00000014
(dcc_r_token_string) got '-Wno-unknown-pragmas'
(dcc_r_argv) argv[5] = "-Wno-unknown-pragmas"
(dcc_r_token_int) got ARGV0000000e
(dcc_r_token_string) got '-Wendif-labels'
(dcc_r_argv) argv[6] = "-Wendif-labels"
(dcc_r_token_int) got ARGV00000008
(dcc_r_token_string) got '-Wshadow'
(dcc_r_argv) argv[7] = "-Wshadow"
(dcc_r_token_int) got ARGV00000013
(dcc_r_token_string) got '-Wctor-dtor-privacy'
(dcc_r_argv) argv[8] = "-Wctor-dtor-privacy"
(dcc_r_token_int) got ARGV00000012
(dcc_r_token_string) got '-Wnon-virtual-dtor'
(dcc_r_argv) argv[9] = "-Wnon-virtual-dtor"
(dcc_r_token_int) got ARGV00000009
(dcc_r_token_string) got '-fno-rtti'
(dcc_r_argv) argv[10] = "-fno-rtti"
(dcc_r_token_int) got ARGV0000000f
(dcc_r_token_string) got '-fno-exceptions'
(dcc_r_argv) argv[11] = "-fno-exceptions"
(dcc_r_token_int) got ARGV00000013
(dcc_r_token_string) got '-fvisibility=hidden'
(dcc_r_argv) argv[12] = "-fvisibility=hidden"
(dcc_r_token_int) got ARGV0000001b
(dcc_r_token_string) got '-fvisibility-inlines-hidden'
(dcc_r_argv) argv[13] = "-fvisibility-inlines-hidden"
(dcc_r_token_int) got ARGV00000014
(dcc_r_token_string) got '-fno-stack-protector'
(dcc_r_argv) argv[14] = "-fno-stack-protector"
(dcc_r_token_int) got ARGV00000002
(dcc_r_token_string) got '-c'
(dcc_r_argv) argv[15] = "-c"
(dcc_r_token_int) got ARGV00000002
(dcc_r_token_string) got '-o'
(dcc_r_argv) argv[16] = "-o"
(dcc_r_token_int) got ARGV0000005a
(dcc_r_token_string) got '/var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889'
(dcc_r_argv) argv[17] = "/var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889"
(dcc_r_token_int) got ARGV00000041
(dcc_r_token_string) got '/var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii'
(dcc_r_argv) argv[18] = "/var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii"
(dcc_r_argv) got arguments: x86_64-pc-linux-gnu-g++ -fuse-ld=gold -fPIC -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy
(dcc_scan_args) scanning arguments: x86_64-pc-linux-gnu-g++ -fuse-ld=gold -fPIC -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor
(dcc_scan_args) found object/output file "/var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889"
(dcc_scan_args) found input file "/var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii"
compile from gr_char_in.tmp.alex-desktop.31889.ii to bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889
(dcc_run_job) output file /var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889
(dcc_input_tmpnam) input file /var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii
(dcc_r_token_int) got DOTI0000bf2a
(dcc_r_file) received 48938 bytes to file /tmp/distccd_15d1aaeb.ii
(dcc_r_file_timed) 48938 bytes received in 0.152722s, rate 313kB/s
(dcc_set_input) changed input from "/var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii" to "/tmp/distccd_15d1aaeb.ii"
(dcc_set_input) command after: x86_64-pc-linux-gnu-g++ -fuse-ld=gold -fPIC -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -c -o /var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889 /tmp/distccd_15d1aaeb.ii
(dcc_set_output) changed output from "/var/tmp/portage/.ccache/6/a/bf609d57a8112eeb26745838e5cc59-49474.o.tmp.alex-desktop.31889" to "/tmp/distccd_1756aaeb.o"
(dcc_set_output) command after: x86_64-pc-linux-gnu-g++ -fuse-ld=gold -fPIC -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -c -o /tmp/distccd_1756aaeb.o /tmp/distccd_15d1aaeb.ii
(dcc_check_compiler_masq) /usr/bin/x86_64-pc-linux-gnu-g++ is not a symlink
(dcc_spawn_child) forking to execute: x86_64-pc-linux-gnu-g++ -fuse-ld=gold -fPIC -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -c -o /tmp/distccd_1756aaeb.o /tmp/distccd_15d1aaeb.ii
(dcc_spawn_child) child started as pid14002
(dcc_collect_child) cc child 14002 terminated with status 0
(dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 0 minflt, 0 majflt
(dcc_x_token_int) send DONE00000001
(dcc_x_token_int) send STAT00000000
(dcc_x_file) send 0 byte file /tmp/distcc_5c49aaeb.stderr with token SERR and compression 69
(dcc_x_token_int) send SERR00000000
(dcc_x_file) send 0 byte file /tmp/distcc_43bdaaeb.stdout with token SOUT and compression 69
(dcc_x_token_int) send SOUT00000000
(dcc_x_file) send 3752 byte file /tmp/distccd_1756aaeb.o with token DOTO and compression 69
(dcc_x_token_int) send DOTO00000ea8
x86_64-pc-linux-gnu-g++ /var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii on localhost completed ok
job complete
(dcc_cleanup_tempfiles_inner) deleted 5 temporary files
(dcc_job_summary) client: 192.168.0.100:54242 COMPILE_OK exit:0 sig:0 core:0 ret:0 time:324ms x86_64-pc-linux-gnu-g++ /var/tmp/portage/.ccache/tmp/gr_char_in.tmp.alex-desktop.31889.ii
Comment 1 Sergey Popov gentoo-dev 2015-10-22 15:01:02 UTC
*** Bug 530106 has been marked as a duplicate of this bug. ***
Comment 2 Dainius Masiliūnas 2016-02-25 21:35:57 UTC
I can confirm that. This results in the journal getting filled and rotating very quickly. Also, there's no easy way to override this; looks like the --verbose argument takes precedence over the DISTCC_VERBOSE environment variable. So only by doing a full override of the unit can this issue be worked around.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-08 10:38:50 UTC

*** This bug has been marked as a duplicate of bug 493680 ***