Is there any way to create a custom log in Craft? I need to log some actions inside a controller/service in a custom plugin.
You can do this in your plugin:
ExamplePlugin::log('the is the log message');
the log method has the following signature:
log($msg, $level = LogLevel::Info, $force = false)
documentation is here
your log will appear in the app/storage/runtime/logs/pluginname.log