Downgrade property tracing.

This commit is contained in:
Alexei Podtelezhnikov 2020-11-20 14:54:35 -05:00
parent 32b14552d6
commit 1286f58c29
5 changed files with 18 additions and 18 deletions

View File

@ -148,7 +148,7 @@
if ( !af_style_classes[ss] ) if ( !af_style_classes[ss] )
{ {
FT_TRACE0(( "af_property_set: Invalid value %d for property `%s'\n", FT_TRACE2(( "af_property_set: Invalid value %d for property `%s'\n",
*fallback_script, property_name )); *fallback_script, property_name ));
return FT_THROW( Invalid_Argument ); return FT_THROW( Invalid_Argument );
} }
@ -307,7 +307,7 @@
return error; return error;
} }
FT_TRACE0(( "af_property_set: missing property `%s'\n", FT_TRACE2(( "af_property_set: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }
@ -410,7 +410,7 @@
return error; return error;
} }
FT_TRACE0(( "af_property_get: missing property `%s'\n", FT_TRACE2(( "af_property_get: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }

View File

@ -5149,16 +5149,16 @@
if ( cur == limit ) if ( cur == limit )
{ {
FT_ERROR(( "%s: can't find module `%s'\n", FT_TRACE2(( "%s: can't find module `%s'\n",
func_name, module_name )); func_name, module_name ));
return FT_THROW( Missing_Module ); return FT_THROW( Missing_Module );
} }
/* check whether we have a service interface */ /* check whether we have a service interface */
if ( !cur[0]->clazz->get_interface ) if ( !cur[0]->clazz->get_interface )
{ {
FT_ERROR(( "%s: module `%s' doesn't support properties\n", FT_TRACE2(( "%s: module `%s' doesn't support properties\n",
func_name, module_name )); func_name, module_name ));
return FT_THROW( Unimplemented_Feature ); return FT_THROW( Unimplemented_Feature );
} }
@ -5167,8 +5167,8 @@
FT_SERVICE_ID_PROPERTIES ); FT_SERVICE_ID_PROPERTIES );
if ( !interface ) if ( !interface )
{ {
FT_ERROR(( "%s: module `%s' doesn't support properties\n", FT_TRACE2(( "%s: module `%s' doesn't support properties\n",
func_name, module_name )); func_name, module_name ));
return FT_THROW( Unimplemented_Feature ); return FT_THROW( Unimplemented_Feature );
} }
@ -5181,8 +5181,8 @@
if ( missing_func ) if ( missing_func )
{ {
FT_ERROR(( "%s: property service of module `%s' is broken\n", FT_TRACE2(( "%s: property service of module `%s' is broken\n",
func_name, module_name )); func_name, module_name ));
return FT_THROW( Unimplemented_Feature ); return FT_THROW( Unimplemented_Feature );
} }

View File

@ -220,7 +220,7 @@
return error; return error;
} }
FT_TRACE0(( "ps_property_set: missing property `%s'\n", FT_TRACE2(( "ps_property_set: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }
@ -275,7 +275,7 @@
return error; return error;
} }
FT_TRACE0(( "ps_property_get: missing property `%s'\n", FT_TRACE2(( "ps_property_get: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }

View File

@ -606,7 +606,7 @@ THE SOFTWARE.
if ( prop->value.l > 0x7FFFFFFFL || if ( prop->value.l > 0x7FFFFFFFL ||
prop->value.l < ( -1 - 0x7FFFFFFFL ) ) prop->value.l < ( -1 - 0x7FFFFFFFL ) )
{ {
FT_TRACE1(( "pcf_get_bdf_property:" FT_TRACE2(( "pcf_get_bdf_property:"
" too large integer 0x%lx is truncated\n", " too large integer 0x%lx is truncated\n",
prop->value.l )); prop->value.l ));
} }
@ -705,7 +705,7 @@ THE SOFTWARE.
#endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */ #endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
FT_TRACE0(( "pcf_property_set: missing property `%s'\n", FT_TRACE2(( "pcf_property_set: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }
@ -743,7 +743,7 @@ THE SOFTWARE.
#endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */ #endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
FT_TRACE0(( "pcf_property_get: missing property `%s'\n", FT_TRACE2(( "pcf_property_get: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }

View File

@ -108,7 +108,7 @@
return error; return error;
} }
FT_TRACE0(( "tt_property_set: missing property `%s'\n", FT_TRACE2(( "tt_property_set: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }
@ -135,7 +135,7 @@
return error; return error;
} }
FT_TRACE0(( "tt_property_get: missing property `%s'\n", FT_TRACE2(( "tt_property_get: missing property `%s'\n",
property_name )); property_name ));
return FT_THROW( Missing_Property ); return FT_THROW( Missing_Property );
} }