on 2024 Apr 02 5:28 PM
Logs are not being printed for users with names exceeding 50 characters. Upon investigating, it was discovered that the column size for the 'User' in the Logs table is set to 50 characters, thus limiting the logging for longer names.
Request clarification before answering.
This action won't be logged in the event log; instead, it will solely store data in memory without any log record. To register information in the log, you must utilize the log.write method. This method offers various implementations, differing only in the number of parameters used. Similarly, the trace.write method places records in the developer console.
In essence, the key distinction between the developer console and the event log lies in data retention. The event log ensures permanent storage by storing data in a database table for up to two weeks, whereas the developer console does not utilize a database and thus cannot retain data as part of the event log. Therefore, utilizing the log.write methods remains the sole method to store information in the event log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.