Is it possible to configure Loggers in a way, so a specific (possibly custom) Logger logs into a separate file, instead of the default log file? This way it would be easier to track the log messages of a specific logger, rather then fiddling around with the log levels of all other loggers. Say I want all Loggers of UE to log into the default log file, but all of my own loggers to log into a custom file. I haven’t been able to find any resources online about this.
For logging I simply use the macro UE_LOG(MyLogger, Log, TEXT(“LogMessage”)).
Something I’ve done locally, if it helps, is created a second logger that goes to a different file, and only turned it on when I need to log those particular lines, then removed it after. It’s a bit janky, but it seems to do the job. Example:
That does the trick. I was forgetting the most important part, to switch activation of the device, then all the logs where flushed to my file. But maybe using standard fstream does the job.