+
+ // Current working directory and absolute trace path file:
+ char c_cwd[ PATH_MAX ];
+ std::string trace_file;
+ if (getcwd(c_cwd, sizeof(c_cwd)) != NULL) {
+ trace_file = c_cwd;
+ trace_file += "/launcher.trace";
+ } else {
+ perror("getcwd() error");
+ return 1;
+ }
+
+ anna::Logger::initialize("launcher", new TraceWriter(trace_file.c_str(), 2048000));