App Rejection Due to Undocumented API __dlog_print() in Core Whitelist

Original Created Oct 04, 2017 | Regeneration Apr 22, 2026

My Tizen application was rejected because it uses the __dlog_print() function, which is listed in core_whitelist.txt.

This is somewhat surprising because:

  1. I've been using the same logging code without issues until now
  2. The only recent change was adding the LAME library for audio encoding
  3. I followed the official guide for using LAME: Encoding Audio Files with LAME

Has anyone else encountered this issue with __dlog_print() or when using the LAME library?

Problem Understanding

The rejection occurs because __dlog_print() is an undocumented internal API that should not be used in production applications. While it might have worked previously, Tizen's app validation process now explicitly checks for such restricted APIs.

Solution Methods

  1. Replace __dlog_print() with the official dlog_print() API

    • This is the standard logging function that should be used instead
    • Example: Change __dlog_print(LOG_TAG, "message") to dlog_print(DLOG_INFO, LOG_TAG, "message")
  2. Check for indirect usage through libraries

    • Some third-party libraries might internally use __dlog_print()
    • Review all included libraries and their logging implementations
  3. Use standard logging macros

    • Instead of direct API calls, consider using standard macros like:
      #define LOGI(fmt, args...) dlog_print(DLOG_INFO, LOG_TAG, fmt, ##args)
      

Code Examples

// Bad (will cause rejection)
__dlog_print(LOG_TAG, "This is a log message");

// Good (approved)
dlog_print(DLOG_INFO, LOG_TAG, "This is a log message");

// Better (using standard macro)
#define LOGI(fmt, args...) dlog_print(DLOG_INFO, LOG_TAG, fmt, ##args)
LOGI("This is a log message with value: %d", some_value);

Additional Tips

  • Always use documented APIs from the official Tizen documentation
  • When adding third-party libraries, check their logging implementations
  • The LAME library itself doesn't cause this issue, but might include problematic logging code
  • For reference, see the official logging documentation on Samsung Tizen OS

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.