Having the DebugLogs using the SharedFile schema

This commit is contained in:
Felipe Zimmerle
2017-02-23 22:24:07 -03:00
committed by Felipe Zimmerle
parent 7f9cd76619
commit fcad290152
2 changed files with 6 additions and 213 deletions

View File

@@ -32,19 +32,6 @@ namespace modsecurity {
namespace debug_log {
typedef struct debug_log_file_handler {
char *file_name;
FILE *fp;
int file_handler;
int shm_id_file_name;
int shm_id_structure;
int using_it;
pthread_mutex_t lock;
void *next;
void *previous;
} debug_log_file_handler_t;
/** @ingroup ModSecurity_CPP_API */
class DebugLogWriter {
public:
@@ -57,11 +44,6 @@ class DebugLogWriter {
void close(const std::string& m_fileName);
int open(const std::string& m_fileName, std::string *error);
protected:
debug_log_file_handler_t *find_handler(const std::string &fileName);
debug_log_file_handler_t *add_new_handler(const std::string &fileName,
std::string *error);
private:
DebugLogWriter() : m_first(NULL) { }
~DebugLogWriter() { }