# Rolling of RPC Server logs under windows?

**URL:** <https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [April 6, 2007, 1:43am UTC](https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837 "2007-04-06T01:43:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@Raymond](https://techcommunity.softwareag.com/u/Raymond)\
**Post date:** [April 6, 2007, 1:43am UTC](https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837/1 "2007-04-06T01:43:57Z")

</div>

We have a RPC server running under Windows 2000 which services RPC requests from z/OS.  
The RPC Server runs great but we need to restart nightly due to constraints with our mainframe service provider. The restarts are handled using Windows Task Scheduler, which works great.  
The problem is that when the service starts up it basically over-writes the existing logfile. The upshot is that we cannot review old logs when a problem occurs.

Is there a parameter we can supply to the RPC server to roll the log files on startup? or Even just append to the existing file?  
we currently use the ‘entirex.server.logfile’ parameter to define the logfile name and location.  
I can do a workaround with a DOS script in our startup, but I am hoping for a more elegant solution.

Thanks

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 6, 2007, 9:53am UTC](https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837/2 "2007-04-06T09:53:57Z")

</div>

Which RPC Server are you using? Are you using the entirex.trace.properties to set the logging properties?

Do you need to restart your RPC Server? The EntireX RPC Servers have options to retry the connection a certain number of times. Depending on which server and EXX release you are on, you can extend the number of retries (I think the earlier versions use a fixed 1 min interval), allowing the server to automatically reconnect when the mainframe connection returns.

---

<div class="post-metadata">

**Author:** ![Raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@Raymond](https://techcommunity.softwareag.com/u/Raymond)\
**Post date:** [April 6, 2007, 5:51pm UTC](https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837/3 "2007-04-06T17:51:07Z")

</div>

We are using the JavaRPCServer. We definitely need to restart the server as our mainframe Broker shuts down nightly between midnight and 6:30 am.

I have attached a copy of the properties file  
[EnterpriseReportServer.properties](https://techcommunity.softwareag.com/uploads/short-url/tmbNtLr8TK22siagmmjBFv3qmAg.properties) (1.22 KB)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/rolling-of-rpc-server-logs-under-windows/59837/4 "2021-04-02T14:40:05Z")

</div>


