Defines | Functions | Variables

LogStandalone.cc File Reference

A brief file description. More...

#include "libts.h"
#include "ink_sys_control.h"
#include "signals.h"
#include "DiagsConfig.h"
#include "Main.h"
#include "Error.h"
#include "P_EventSystem.h"
#include "P_RecProcess.h"
#include "ProcessManager.h"
#include "MgmtUtils.h"
#include "RecordsConfig.h"
Include dependency graph for LogStandalone.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LOG_FILENAME_SIZE   255

Functions

static void init_system (bool notify_syslog)
static void initialize_process_manager ()
void shutdown_system ()
static void check_lockfile ()
void init_log_standalone (const char *pgm_name, bool one_copy)
void init_log_standalone_basic (const char *pgm_name)

Variables

int fds_limit
int cluster_port_number
int command_flag = 0
int http_accept_port_number = 0
int http_accept_file_descriptor = 0
int remote_management_flag = 0
int auto_clear_hostdb_flag = 0
char proxy_name [MAXDNAME+1] = "unknown"
char error_tags [1024] = ""
char action_tags [1024] = ""
char command_string [512] = ""
DiagsConfigdiagsConfig = NULL
HttpBodyFactorybody_factory = NULL
AppVersionInfo appVersionInfo

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file LogStandalone.cc.


Define Documentation

#define LOG_FILENAME_SIZE   255

Definition at line 45 of file LogStandalone.cc.


Function Documentation

static void check_lockfile (  )  [static]
void init_log_standalone ( const char *  pgm_name,
bool  one_copy 
)
void init_log_standalone_basic ( const char *  pgm_name  ) 

Definition at line 237 of file LogStandalone.cc.

References action_tags, DiagsConfig::diags, diags, error_tags, and init_system().

Referenced by main().

static void init_system ( bool  notify_syslog  )  [static]
static void initialize_process_manager (  )  [static]
void shutdown_system (  ) 

Definition at line 141 of file LogStandalone.cc.

Referenced by interrupt_handler(), and signal_handler().


Variable Documentation

char action_tags[1024] = ""

Definition at line 61 of file LogStandalone.cc.

Referenced by init_log_standalone(), init_log_standalone_basic(), and main().

Definition at line 68 of file LogStandalone.cc.

Referenced by api_init(), main(), and CommandLineArgs::parse_arguments().

Definition at line 57 of file LogStandalone.cc.

Referenced by HostDBProcessor::start().

Definition at line 67 of file LogStandalone.cc.

Definition at line 34 of file ClusterProcessor.cc.

int command_flag = 0

Definition at line 53 of file LogStandalone.cc.

Referenced by main(), and maintainance_mode().

char command_string[512] = ""

Definition at line 62 of file LogStandalone.cc.

Referenced by cmd_mode(), and main().

Definition at line 66 of file LogStandalone.cc.

Referenced by diags_config_callback(), and main().

char error_tags[1024] = ""

Definition at line 60 of file LogStandalone.cc.

Referenced by init_log_standalone(), init_log_standalone_basic(), and main().

int fds_limit

Definition at line 31 of file UnixNet.cc.

Definition at line 55 of file LogStandalone.cc.

Definition at line 54 of file LogStandalone.cc.

char proxy_name[MAXDNAME+1] = "unknown"

Definition at line 58 of file LogStandalone.cc.

Definition at line 56 of file LogStandalone.cc.

Referenced by initialize_process_manager(), and main().