Go to the source code of this file.
Go to the SVN repository for this file.
enum ETokenType {Token type.
Enumerator eToken_Undefined eToken_App eToken_Request eUnknown eJoin eCompl eLeft eRight eCaret eDotDot eAccession eGt eLt eComma eNumber eOrder eSingleDot eGroup eOneOf eReplace eSites eString eOneOfNum eGap eUnkGapDefinition at line 225 of file ncbi_applog.cpp.
◆ main() ◆ NCBI_PARAM_DECL() [1/3]Declare the parameter for logging CGI.
◆ NCBI_PARAM_DECL() [2/3] NCBI_PARAM_DECL ( string , NCBI , NcbiApplogDestination )Declare the parameter for logging output destination.
◆ NCBI_PARAM_DECL() [3/3] NCBI_PARAM_DECL ( string , NCBI , NcbiApplogDestinationFile )Declare the parameter for a file logging output destination.
◆ NCBI_PARAM_DEF_EX() [1/3] ◆ NCBI_PARAM_DEF_EX() [2/3] ◆ NCBI_PARAM_DEF_EX() [3/3] NCBI_PARAM_DEF_EX ( string , NCBI , NcbiApplogDestinationFile , "" , eParam_NoThread , NCBI_CONFIG__NCBIAPPLOG_DESTINATION_FILE ) ◆ s_PeekStdin()Wait for data in stdin with a timeout.
Return true if stdin have data, false otherwise.
Definition at line 685 of file ncbi_applog.cpp.
References pollfd::events, pollfd::fd, CTimeout::GetAsMilliSeconds(), HANDLE, int, CTimeout::IsInfinite(), kWaitPrecision, n, NULL, poll, POLLIN, and SleepMilliSec().
Referenced by CNcbiApplogApp::Redirect().
◆ kApplogRegexp const char* kApplogRegexp Initial value:=
"^\\d{5,}/\\d{3,}/\\d{4,}/[NSPRBE ]{3}[0-9A-Z]{16} "
"\\d{4,}/\\d{4,} "
"\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3,9} "
".{15} .{15} [^ ]{1,} +"
"([^ ]{1,}) "
Regular expression to check lines of raw logs (checks all fields up to appname).
NOTE: we need sub-pattern for an application name only!
Definition at line 162 of file ncbi_applog.cpp.
Referenced by CNcbiApplogApp::Redirect(), and CNcbiApplogApp::Run().
◆ kDefaultCGI const char* kDefaultCGI = "https://intranet.ncbi.nlm.nih.gov/ieb/ToolBox/util/ncbi_applog.cgi"Default CGI used by default if /log directory is not writable on current machine.
Can be redefined in the configuration file.
Definition at line 158 of file ncbi_applog.cpp.
◆ kErrorMessagePrefix const char* kErrorMessagePrefix = "NCBI_APPLOG: error: " ◆ kParamsOffset ◆ kPerfRegexp const char* kPerfRegexp = "^\\d+ (\\d+\\.\\d+)"Regular expression to check perf message and get position of performance parameters perf <exit_code> <timespan> [<performance_parameters>].
Definition at line 171 of file ncbi_applog.cpp.
Referenced by CNcbiApplogApp::Run().
◆ USING_NCBI_SCOPERetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4