No log files /var/log/messages and /var/log/maillog inside jail.
The poster of this bug report is confused on the difference between jail(8) and VM. Using VM would have a /var/log/messages and /var/log/maillog inside the VM from the basic install which is different than how jail(8) works.
Qjail is just a wrapper for the jail(8) command and as such has the same limits as jail(8). What the poster expects to find in the messages file (boot post messages) do not happen in jail(8). What little information coming from the statements in the jails rc.conf file go to the host /var/log/qjail.jailname.console.log file for easy access by the host jail administrator. This log file can be considered as the messages file but with a different name and very limited content.
The /var/log/maillog is used by sendmail which is not started by default in qjail jails because the cron daily, weekly, monthly reports are not run in the jail(8) jail.
What the poster thinks is a qjail bug is really just the posters lack of understanding of how jail(8) works. The maintainer of qjail says this bug report is invalid and is NOT a bug and can be closed.
I think this answer is not constructive.
I have been using jail for a long time. But when using qjail, I encountered a lack of log files. I am running sendmail inside jail, but maillog is missing.
I solved the problem by creating a log file myself.
# cd /var/log
# touch maillog
# chmod o-r maillog
And restart jail.
sendmail is not part of the default qjail jail system. sendmail is not provided in the default qjail jail system. User realized this and removed jail rc.conf statements that turn off sendmail by default. Added statement to turn on sendmail and created sendmail log files.
This is not a qjail bug. qjail worked as designed.
This pr can be closed.