<html>

<head>

<title>log modify</title></head>

<body  BGCOLOR="#ffffff">

<table border="0">

<td width="10">&nbsp;</td>

<td>

<a href="Comre416.htm"><img src="./prev.gif" border="0" alt="Previous" WIDTH="32" HEIGHT="32"></a><a href="Comre418.htm"><img src="./next.gif" border="0" alt="Next" WIDTH="32" HEIGHT="32"></a><p>

<h4>     log modify<p>

</h4>Sets message routing specifications for one or more specified servers.  Remember that routing is always set on a per-server basis and is recorded in the <b>log</b> object for each 

server.  The syntax is: 

</b><p>

 	<b>log modify </b>{<i>RPC_server_namespace_entry</i><b> | </b><i>string_binding_to_server</i>}<b> <br> 	 	-change </b>{<i>routing_specifications</i><b> | 

</b><i>debug_routing_specifications</i>} 

</i></b><p>

The <b>-change</b> option specifies the serviceability routing or debug routing specifications that you want to change.  There is a fixed, well-known set of routing defaults.  You can change these 

defaults, but you cannot add new routings or remove existing routings.  Routing is always set on a per-server basis and is recorded in the <b>log</b> object for each server.  This operation returns 

an empty string on success. 

</b><p>

<b>Description</b> <br>Serviceability and debug messages can be written to any of the normal output destinations.  You can specify routing for serviceability and debug messages in any of 

the following ways: 

</b><p>

· 	Through the <b>dcecp log</b> object, if the server supports the remote serviceability interface</b><p>

· 	By the contents of the <i>dce-local-path</i>/<b>svc</b>/<b>routing</b> routing file</i></b><p>

· 	By the contents of an environment variable<p>

For a complete discussion of the ways in which you can specify routings for serviceability and debug messages, refer to the <a href="appref.htm">svcroute(5dce)</a> reference page.<p>

<b>Privileges Required</b> <br>The privileges are determined by what the server allows for permissions.</b><p>

<b>Examples</b></b><p>

dcecp&gt; <b>log modify </b>/<b>.:</b>/<b>tserver -change </b>{{<b>FATAL TEXTFILE </b>/<b>dev</b>/<b>console</b>}<b> </b>\  <br>{<b>ERROR TEXTFILE 

</b>/<b>tmp</b>/<b>timop_errors.5.100</b>}<b> </b>{<b>NOTICE BINFILE </b>/<b>tmp</b>/<b>timop_log%ld </b>}}<b>  <br></b>dcecp&gt; 

</b><p>

<h4><b></h4></b><p>

<b></b></b><p>

</td>

</table>

</body></html>

