The genkernel manual page states:
--debuglevel=<0-5>
This controls the out verbosity level of genkernel output - if
this is set to 0, minimal debugging is done; if this is set to 5
as much output as possible is given.
--debugfile=<outfile>
This outputs full debugging data; regardless of --debuglevel to
the file <outfile>. By default this is /var/log/genkernel.log.
It is not the case that --debugfile causes full debuging output regardless of
verbosity level, there is a significant difference in output with and without a
--debuglevel.
I'm attaching two --debugfile(s) generate with these commands:
# genkernel --lvm2 --kernel-config=/tmp/myconfig --debugfile=/tmp/genkernel.out
all
# genkernel --lvm2 --kernel-config=/tmp/myconfig
--debugfile=/tmp/genkernel-debug5.out --debuglevel=5 all
It doesn't matter which way this is resolved, but the man page, them embedded
documentation, and the behavior ought to be consistent.