Forum Discussion
ludodepaz
OneStream Employee
2 years ago[How to] Log into a file instead of the Error Log
Logging with OneStream is great but when we all use the Error Log at the same time, things can get messy very quickly. Moreover, logging in a file instead of the Error Log can be very convenient when...
Sergey
OneStream Employee
2 years agoThis is neat (also a little bit more script than a regular brapi.errorlog.logmessage 😁 ).
When using it, did you see any differences in the time to log informations, using this method vs. logmessage ?
Regards,
ludodepaz
OneStream Employee
2 years agoHi Sergey,
when we think about it, every time you hit the Error Log, you write a row in a table, this is very costly. With this solution, you put all logs in memory and then write a file so in the end, it's actually faster, especially if you write kick outs and have a lot of them.
Related Content
- 2 months ago
- 2 years ago
- 1 month ago
- 4 years ago
- 2 years ago