I did a little edit, maybe it's working now.
If you type "//echo -a $logdir", is this directory your main log directory?