Character encoding while logging custom log format in access log
I am using squid 4.0.21 with ecap version 1.0
I used to a custom access log format:
logformat customLogFormat %ts.%03tu %6tr %>a %ru %{status_
# TAG: access_log
access_log daemon:
ecap code for log the field %{status_
string statusData;
/**
*
* @param visitor
*/
void RequestAction:
if(
}
}
.
.
.
.
void RequestAction:
{
/*
some codes here
*/
hostx-
}
But the squid access log is logged statusData as 12%5C33%5Ctesting instead of 12\33\testing
Squid logs the character '\' as %5C in access log. I need to log the filed %{status_
Could any one please help to resolve the issue
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Rousskov
- Solved:
- Last query:
- Last reply: