Browse Source

Merge branch '0.2'

Julius Pfrommer 7 years ago
parent
commit
a0a2f73048
2 changed files with 2 additions and 1 deletions
  1. 1 1
      doc/building.rst
  2. 1 0
      plugins/ua_log_stdout.c

+ 1 - 1
doc/building.rst

@@ -27,7 +27,7 @@ Building with CMake on Ubuntu or Debian
    # enable additional features
    sudo apt-get install liburcu-dev # for multithreading
    sudo apt-get install check # for unit tests
-   sudo apt-get install sphinx graphviz # for documentation generation
+   sudo apt-get install python-sphinx graphviz # for documentation generation
    sudo apt-get install python-sphinx-rtd-theme # documentation style
 
    cd open62541

+ 1 - 0
plugins/ua_log_stdout.c

@@ -31,6 +31,7 @@ UA_Log_Stdout(UA_LogLevel level, UA_LogCategory category,
     printf("[%.23s] %s/%s\t", t.data, LogLevelNames[level], LogCategoryNames[category]);
     vprintf(msg, args);
     printf("\n");
+    fflush(stdout);
 #ifdef UA_ENABLE_MULTITHREADING
     pthread_mutex_unlock(&printf_mutex);
 #endif