Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
6ee33215
Commit
6ee33215
authored
Nov 23, 2007
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix long standing copy+paste error.
svn path=/icecast/trunk/icecast/; revision=14218
parent
7d8182ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/logging.c
src/logging.c
+7
-7
No files found.
src/logging.c
View file @
6ee33215
...
...
@@ -32,7 +32,7 @@
#ifdef _WIN32
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#define vsnprintf _vsnprintf
#endif
/* the global log descriptors */
...
...
@@ -99,7 +99,7 @@ int get_clf_time (char *buffer, unsigned len, struct tm *t)
**
** ADDR = client->con->ip
** IDENT = always - , we don't support it because it's useless
** USER = client->username
** USER = client->username
** DATE = _make_date(client->con->con_time)
** REQUEST = build from client->parser
** CODE = client->respcode
...
...
@@ -186,7 +186,7 @@ void logging_playlist(const char *mount, const char *metadata, long listeners)
#endif
/* This format MAY CHANGE OVER TIME. We are looking into finding a good
standard format for this, if you have any ideas, please let us know */
log_write_direct
(
playlistlog
,
"%s|%s|%d|%s"
,
log_write_direct
(
playlistlog
,
"%s|%s|%
l
d|%s"
,
datebuf
,
mount
,
listeners
,
...
...
@@ -227,8 +227,8 @@ void restart_logging (ice_config_t *config)
char
fn_error
[
FILENAME_MAX
];
snprintf
(
fn_error
,
FILENAME_MAX
,
"%s%s%s"
,
config
->
log_dir
,
PATH_SEPARATOR
,
config
->
access_log
);
log_set_filename
(
accesslog
,
fn_error
);
log_set_trigger
(
error
log
,
config
->
logsize
);
log_set_archive_timestamp
(
error
log
,
config
->
logarchive
);
log_set_trigger
(
access
log
,
config
->
logsize
);
log_set_archive_timestamp
(
access
log
,
config
->
logarchive
);
log_reopen
(
accesslog
);
}
...
...
@@ -237,8 +237,8 @@ void restart_logging (ice_config_t *config)
char
fn_error
[
FILENAME_MAX
];
snprintf
(
fn_error
,
FILENAME_MAX
,
"%s%s%s"
,
config
->
log_dir
,
PATH_SEPARATOR
,
config
->
playlist_log
);
log_set_filename
(
playlistlog
,
fn_error
);
log_set_trigger
(
error
log
,
config
->
logsize
);
log_set_archive_timestamp
(
error
log
,
config
->
logarchive
);
log_set_trigger
(
playlist
log
,
config
->
logsize
);
log_set_archive_timestamp
(
playlist
log
,
config
->
logarchive
);
log_reopen
(
playlistlog
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment