I would like bitcoind to put its log file in /var/log/bitcoin. This PR adds a new -logdir option that controls where the debug.log file is put.
Note: This flag affects bitcoind and bitcoin-qt. There appears to be a db.log file that is used for wallets, but I didn't update that code path. It would be a minor change to update that as well.