---
title: System.AccessLogs
slug: ps/help/en_us/vtm/controlapi/systemaccesslogs
docTags: 
createdAt: 2026-08-02T08:52:22.587Z
---

URI: http\://soap.zeus.com/zxtm/1.0/System/AccessLogs/

The AccessLogs interfaces provide operations on saved virtual server access logs for a Virtual Traffic Manager Appliance. This interface is only available on an appliance and is deprecated; use the System.RequestLogs interface instead.

### Methods

### deleteAllVSAccessLogs() throws InvalidOperation

Delete all the access logs for all virtual servers.

```bash
void deleteAllVSAccessLogs()
```

### deleteVSAccessLog( logfiles ) throws InvalidOperation, InvalidInput

Delete the specified access logs.

```bash
void deleteVSAccessLog(
String[] logfiles
)
```

### deleteVSAccessLogs( vservers ) throws InvalidOperation

Delete the access logs for specific virtual servers.

```bash
void deleteVSAccessLogs(
String[] vservers
)
```

### getAllVSAccessLogs() throws InvalidOperation

Get the access logs for all virtual servers.

```bash
System.AccessLogs.VSAccessLog[] getAllVSAccessLogs()
```

### getVSAccessLogs( vservers ) throws InvalidOperation

Get the access logs for specific virtual servers.

```bash
System.AccessLogs.VSAccessLog[][] getVSAccessLogs(
String[] vservers
)
```

### Structures

### System.AccessLogs.VSAccessLog

This structure contains the information for each virtual server access log.

```bash
struct System.AccessLogs.VSAccessLog {
# The log filename.
String filename;
# The virtual server for this logfile.
String virtual_server;
# The date this logfile was created.
Time logdate;
# The size (in bytes) of this logfile.
Integer filesize;
}
```
