mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
removed some logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21137 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01f1f6b352
commit
c493f482c3
6 changed files with 12 additions and 41 deletions
|
@ -1189,12 +1189,6 @@ int GSWApplicationMain(NSString* applicationClassName,
|
|||
(language ? language : @""),
|
||||
(isCachedComponent ? "" : "Not "),
|
||||
GSWTime_floatSec(stopTS-startTS)];
|
||||
#else
|
||||
[self statusDebugWithFormat:@"Component %@ %s language %@ (%sCached)",
|
||||
aName,
|
||||
(language ? "" : "no"),
|
||||
(language ? language : @""),
|
||||
(isCachedComponent ? "" : "Not ")];
|
||||
#endif
|
||||
};
|
||||
#ifdef DEBUG
|
||||
|
@ -1205,13 +1199,6 @@ int GSWApplicationMain(NSString* applicationClassName,
|
|||
(componentDefinition ? [[componentDefinition class] description]: @""),
|
||||
(componentDefinition ? (isCachedComponent ? "(Cached)" : "(Not Cached)") : ""),
|
||||
GSWTime_floatSec(stopTS-startTS));
|
||||
#else
|
||||
NSDebugMLLog(@"application",@"%s componentDefinition (%p) for %@ class=%@ %s.",
|
||||
(componentDefinition ? "FOUND" : "NOTFOUND"),
|
||||
componentDefinition,
|
||||
aName,
|
||||
(componentDefinition ? [[componentDefinition class] description]: @""),
|
||||
(componentDefinition ? (isCachedComponent ? "(Cached)" : "(Not Cached)") : ""));
|
||||
#endif
|
||||
LOGObjectFnStop();
|
||||
return componentDefinition;
|
||||
|
@ -2448,11 +2435,10 @@ to another instance **/
|
|||
//NDFN
|
||||
-(void)threadWillExit
|
||||
{
|
||||
// GSWLogC("GC** GarbageCollector collectGarbages START");
|
||||
printf("GC** GarbageCollector collectGarbages START\n");
|
||||
//printf("GC** GarbageCollector collectGarbages START\n");
|
||||
//TODO-NOW [GarbageCollector collectGarbages];//LAST //CLEAN
|
||||
// GSWLogC("GC** GarbageCollector collectGarbages STOP");
|
||||
printf("GC** GarbageCollector collectGarbages STOP\n");
|
||||
//GSWLogC("GC** GarbageCollector collectGarbages STOP");
|
||||
//printf("GC** GarbageCollector collectGarbages STOP\n");
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
|
|
@ -330,9 +330,6 @@ int allow_severity = LOG_INFO;
|
|||
|
||||
listenHandle=[notification object];
|
||||
|
||||
[GSWApplication statusLogWithFormat:@"%@: New Request %@",
|
||||
GSCurrentThread(),GSWTime_format(requestTS)];
|
||||
|
||||
NSDebugDeepMLLog(@"info",@"listenHandle=%p",(void*)listenHandle);
|
||||
|
||||
inStream = [[notification userInfo]objectForKey:@"NSFileHandleNotificationFileHandleItem"];
|
||||
|
@ -501,22 +498,18 @@ int allow_severity = LOG_INFO;
|
|||
};
|
||||
if (!_isMultiThreadEnabled && newThread)
|
||||
{
|
||||
[GSWApplication statusLogWithFormat:@"Launch Thread (Mono) %@",
|
||||
GSWTime_format(GSWTime_now())];
|
||||
|
||||
NSDebugLockMLLog(@"info",
|
||||
@"Launch Thread (Mono) %@ %p",
|
||||
GSWTime_format(GSWTime_now()),
|
||||
(void*)newThread);
|
||||
//NSDebugLockMLLog(@"info",
|
||||
// @"Launch Thread (Mono) %@ %p",
|
||||
// GSWTime_format(GSWTime_now()),
|
||||
// (void*)newThread);
|
||||
|
||||
[newThread run:nil];
|
||||
|
||||
DESTROY(newThread);
|
||||
|
||||
[GSWApplication statusLogWithFormat:@"Stop Thread (Mono) %@",
|
||||
GSWTime_format(GSWTime_now())];
|
||||
NSDebugLockMLLog(@"info",
|
||||
@"Stop Thread (Mono) %@",GSWTime_format(GSWTime_now()));
|
||||
//NSDebugLockMLLog(@"info",
|
||||
// @"Stop Thread (Mono) %@",GSWTime_format(GSWTime_now()));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -645,8 +645,8 @@ static NSData* lineFeedData=nil;
|
|||
else
|
||||
{
|
||||
NSString* httpVersion=[protocol objectAtIndex:1];
|
||||
[GSWApplication statusLogWithFormat:@"RemoteAddress=%@ Method=%@ Protocol=%@ httpVersion=%@ uri=%@",
|
||||
_remoteAddress,method,protocolString,httpVersion,url];
|
||||
//[GSWApplication statusLogWithFormat:@"RemoteAddress=%@ Method=%@ Protocol=%@ httpVersion=%@ uri=%@",
|
||||
// _remoteAddress,method,protocolString,httpVersion,url];
|
||||
|
||||
/* if (isHeaderKeysEqual(method,GSWHTTPHeader_MethodPost))
|
||||
{
|
||||
|
@ -813,7 +813,7 @@ withAdditionalHeaderLines:(NSArray*)addHeaders
|
|||
NS_DURING
|
||||
{
|
||||
[aStream writeData:responseData];
|
||||
[GSWApplication statusLogString:@"\nResponse Sent\n"];
|
||||
//[GSWApplication statusLogString:@"\nResponse Sent\n"];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
|
|
|
@ -171,7 +171,6 @@ void InitializeGSWElementIDSELs()
|
|||
static BOOL initialized=NO;
|
||||
if (!initialized)
|
||||
{
|
||||
NSLog(@"InitializeGSWElementIDSELs");
|
||||
incrementLastElementIDComponentSEL = @selector(incrementLastElementIDComponent);
|
||||
appendElementIDComponentSEL = @selector(appendElementIDComponent:);
|
||||
appendZeroElementIDComponentSEL=@selector(appendZeroElementIDComponent);
|
||||
|
@ -189,8 +188,6 @@ void InitializeGSWElementIDSELs()
|
|||
{
|
||||
if (self == [GSWElementID class])
|
||||
{
|
||||
NSLog(@"Initialize GSWElementID");
|
||||
|
||||
deleteElementsFromIndexSelector=@selector(_deleteElementsFromIndex:);
|
||||
buildElementPartsSelector=@selector(_buildElementParts);
|
||||
appendStringSelector=@selector(appendString:);
|
||||
|
|
|
@ -409,8 +409,6 @@ static __inline__ NSMutableData *_checkBody(GSWMessage *self) {
|
|||
{
|
||||
if (self == [GSWMessage class])
|
||||
{
|
||||
NSLog(@"Initialize GSWMessage");
|
||||
|
||||
appendDataSel = @selector(appendData:);
|
||||
NSAssert(appendDataSel,@"No appendDataSel");
|
||||
|
||||
|
|
|
@ -151,7 +151,6 @@ RCS_ID("$Id$")
|
|||
NSDebugMLLog(@"sessions",@"timer fireDate=%@",[timer fireDate]);
|
||||
if (timer)
|
||||
{
|
||||
[GSWApplication logWithFormat:@"lock Target..."];
|
||||
[_target lock];
|
||||
targetLocked=YES;
|
||||
NS_DURING
|
||||
|
@ -166,7 +165,6 @@ RCS_ID("$Id$")
|
|||
//TODO
|
||||
if (targetLocked)
|
||||
{
|
||||
[GSWApplication logWithFormat:@"unlock Target..."];
|
||||
[_target unlock];
|
||||
targetLocked=NO;
|
||||
};
|
||||
|
@ -180,7 +178,6 @@ RCS_ID("$Id$")
|
|||
}
|
||||
NS_ENDHANDLER;
|
||||
|
||||
[GSWApplication logWithFormat:@"unlock Target..."];
|
||||
if (targetLocked)
|
||||
{
|
||||
[_target unlock];
|
||||
|
|
Loading…
Reference in a new issue