Skip to content

Commit

Permalink
Revert "OSX debug launchdaemon"
Browse files Browse the repository at this point in the history
This reverts commit bdf8892.
  • Loading branch information
ccMSC committed Jun 23, 2015
1 parent ba0b327 commit 768645e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions service/launchd/com.ckb.daemon.plist
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,5 @@
<string>Interactive</string>
<key>LegacyTimers</key>
<true/>
<key>StandardOutPath</key>
<string>/var/log/ckb.log</string>
<key>Debug</key>
<true />
</dict>
</plist>
12 changes: 6 additions & 6 deletions src/ckb-daemon/includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ typedef unsigned short ushort;

// Output helpers
// Use ckb_* to output info or ckb_*_fn to override the file/line numbers (useful when describing where a function was invoked from)
#define ckb_fatal_nofile(fmt, args...) printf("[F] " fmt, ## args)
#define ckb_fatal_fn(fmt, file, line, args...) printf("[F] %s (via %s:%d): " fmt, __func__, file, line, ## args)
#define ckb_fatal(fmt, args...) printf("[F] %s (%s:%d): " fmt, __func__, __FILE_NOPATH__, __LINE__, ## args)
#define ckb_err_nofile(fmt, args...) printf("[E] " fmt, ## args)
#define ckb_err_fn(fmt, file, line, args...) printf("[E] %s (via %s:%d): " fmt, __func__, file, line, ## args)
#define ckb_err(fmt, args...) printf("[E] %s (%s:%d): " fmt, __func__, __FILE_NOPATH__, __LINE__, ## args)
#define ckb_fatal_nofile(fmt, args...) fprintf(stderr, "[F] " fmt, ## args)
#define ckb_fatal_fn(fmt, file, line, args...) fprintf(stderr, "[F] %s (via %s:%d): " fmt, __func__, file, line, ## args)
#define ckb_fatal(fmt, args...) fprintf(stderr, "[F] %s (%s:%d): " fmt, __func__, __FILE_NOPATH__, __LINE__, ## args)
#define ckb_err_nofile(fmt, args...) fprintf(stderr, "[E] " fmt, ## args)
#define ckb_err_fn(fmt, file, line, args...) fprintf(stderr, "[E] %s (via %s:%d): " fmt, __func__, file, line, ## args)
#define ckb_err(fmt, args...) fprintf(stderr, "[E] %s (%s:%d): " fmt, __func__, __FILE_NOPATH__, __LINE__, ## args)
#define ckb_warn_nofile(fmt, args...) printf("[W] " fmt, ## args)
#define ckb_warn_fn(fmt, file, line, args...) printf("[W] %s (via %s:%d): " fmt, __func__, file, line, ## args)
#define ckb_warn(fmt, args...) printf("[W] %s (%s:%d): " fmt, __func__, __FILE_NOPATH__, __LINE__, ## args)
Expand Down

0 comments on commit 768645e

Please sign in to comment.