ADirCommand,log: Improved log code.
PurgeCommand: Add support for purge command.