Fix hooks so plugins aren't clobbered

The hooks were returning nil for plugin dependencies, which meant plugins
loaded via profiles were failing.
Make logging config more comprehensive