mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
DEVEL15-windows-less-power-mgmt-logging-20060508
comment out some of the power mgmt log entries reducing the size of afsd_init.log (cherry picked from commit cabc803a62c2f3d20d41356bc177873bcf79c033)
This commit is contained in:
parent
b8f04cfcc1
commit
953cbe4fab
@ -292,7 +292,9 @@ afsd_ServiceControlHandlerEx(
|
||||
/* XXX handle pause & continue */
|
||||
case SERVICE_CONTROL_POWEREVENT:
|
||||
{
|
||||
afsi_log("SERVICE_CONTROL_POWEREVENT");
|
||||
#ifdef DEBUG
|
||||
afsi_log("SERVICE_CONTROL_POWEREVENT");
|
||||
#endif
|
||||
/*
|
||||
** dwEventType of this notification == WPARAM of WM_POWERBROADCAST
|
||||
** Return NO_ERROR == return TRUE for that message, i.e. accept request
|
||||
@ -341,11 +343,15 @@ afsd_ServiceControlHandlerEx(
|
||||
dwRet = NO_ERROR;
|
||||
break;
|
||||
case PBT_APMPOWERSTATUSCHANGE:
|
||||
afsi_log("SERVICE_CONTROL_APMPOWERSTATUSCHANGE");
|
||||
#ifdef DEBUG
|
||||
afsi_log("SERVICE_CONTROL_APMPOWERSTATUSCHANGE");
|
||||
#endif
|
||||
dwRet = NO_ERROR;
|
||||
break;
|
||||
case PBT_APMOEMEVENT:
|
||||
#ifdef DEBUG
|
||||
afsi_log("SERVICE_CONTROL_APMOEMEVENT");
|
||||
#endif
|
||||
dwRet = NO_ERROR;
|
||||
break;
|
||||
case PBT_APMRESUMEAUTOMATIC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user