Developer

Do Not Use Hashtags in Log Messages

Problem

Both in the current and earlier SAP Mobile Platform SDK releases, the hashtag character (#) is a reserved character that you must not use when creating log messages. Hashtags are used as delimiters within logs, for validating and parsing log entry fields, and prevents the log file from being uploaded to SAP Mobile Platform Server or mobile service for development and operations.

Fix

To prevent validation-related errors, all hashtag characters found within a log message are replaced by question marks. For example:
LOGERR( @“### Request failed!” ); 
Will generate the following log message:
??? Request failed! ”