---
title: FortiOS Log Memory
slug: homologacao-atmosphere/fortios-log-memory
description: Learn about the FortiOS and FortiOS API modules with this comprehensive document. Explore the "log_memory_setting" parameter and its subfields, along with a sample YAML code for configuring memory buffer settings. Discover how this module yields identical
createdAt: 2021-10-05T12:32:24.000Z
---





Extende fragmentos da documentação dos módulos [FortiOS](https://app.archbee.io/docs/qhqZWWA92JYWAihQOL_T5/GK6TcLwJeGCEKg2lsbTV1) e [FotiOS API](https://app.archbee.io/docs/qhqZWWA92JYWAihQOL_T5/jZvvf9N1aUJbMuXZ5pmUO).

| Parâmetro            | Tipo       | Escolhas \| Valor Padrão | Comentários                            |
| -------------------- | ---------- | ------------------------ | -------------------------------------- |
| log\_memory\_setting | dictionary |                          | Configurações para o buffer de memória |



## Subcampos da opção log\_memory\_setting

| Parâmetro | Tipo   | Escolhas \| Valor Padrão | Comentários                                    |
| --------- | ------ | ------------------------ | ---------------------------------------------- |
| diskfull  | string | overwrite                | Ação a realizar quando a memória estiver cheia |
| status    | string | enable<br />disable      | Habilita/desabilita a escrita de log           |



## Exemplos

```yaml
  tasks:
  - name: Settings for memory buffer.
    fortios_log_memory_setting:
      host:  "{{ host }}"
      username: "{{ username }}"
      password: "{{ password }}"
      vdom:  "{{ vdom }}"
      https: "False"
      log_memory_setting:
        diskfull: "overwrite"
        status: "enable"
```



## Valores retornados

Este módulo extende os mesmos valores retornados do módulo base fortios.
