Changeset 41040 in vbox for trunk/src/VBox/Main/src-server/xpcom
- Timestamp:
- Apr 24, 2012 10:13:40 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77602
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/xpcom/server.cpp
r39459 r41040 5 5 6 6 /* 7 * Copyright (C) 200 6-2011Oracle Corporation7 * Copyright (C) 2004-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 36 36 37 37 #include <VBox/param.h> 38 #include <VBox/version.h>39 38 40 39 #include <iprt/buildconfig.h> … … 892 891 pszLogFile = RTStrDup(szLogFile); 893 892 } 894 VBoxSVCLogRelCreate(pszLogFile, cHistory, uHistoryFileTime, uHistoryFileSize); 893 char szError[RTPATH_MAX + 128]; 894 vrc = com::VBoxLogRelCreate("XPCOM Server", pszLogFile, 895 RTLOGFLAGS_PREFIX_THREAD | RTLOGFLAGS_PREFIX_TIME_PROG, 896 "all", "VBOXSVC_RELEASE_LOG", 897 RTLOGDEST_FILE, UINT32_MAX /* cMaxEntriesPerGroup */, 898 cHistory, uHistoryFileTime, uHistoryFileSize, 899 szError, sizeof(szError)); 900 if (RT_FAILURE(vrc)) 901 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", szError, vrc); 895 902 896 903 daemon_pipe_wr = PR_GetInheritedFD(VBOXSVC_STARTUP_PIPE_NAME); … … 1001 1008 putchar('*'); 1002 1009 RTPrintf("\n%s\n", szBuf); 1003 RTPrintf("(C) 200 8-" VBOX_C_YEAR " " VBOX_VENDOR "\n"1010 RTPrintf("(C) 2004-" VBOX_C_YEAR " " VBOX_VENDOR "\n" 1004 1011 "All rights reserved.\n"); 1005 1012 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.