Title: Observer
Author: Andy Whalen
Published: <strong>9 setembro, 2013</strong>
Last modified: 2 abril, 2016

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/observer.svg)

# Observer

 Por [Andy Whalen](https://profiles.wordpress.org/anukit/)

[Baixar](https://downloads.wordpress.org/plugin/observer.zip)

 * [Detalhes](https://br.wordpress.org/plugins/observer/#description)
 * [Avaliações](https://br.wordpress.org/plugins/observer/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/observer/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/observer/#developers)

 [Suporte](https://wordpress.org/support/plugin/observer/)

## Descrição

Creates a log file for network/multisite super admin actions.

The following actions are logged for Super Admin users. WordPress action names are
listed in parenthesis:

 * change network settings (update_site_option)
 * grant super admin privileges (granted_super_admin)
 * revoke super admin privileges (revoked_super_admin)
 * upgrade blog (wpmu_upgrade_site)
 * add blog (wpmu_new_blog)
 * set blog archived (archive_blog/unarchive_blog)
 * set blog deleted (make_delete_blog/make_undelete_blog)
 * set blog mature (mature_blog/unmature_blog)
 * set blog spam (make_spam_blog/make_ham_blog)
 * delete blog (delete_blog)
 * delete user (wpmu_delete_user)
 * delete user (deleted_user)
 * change other user’s settings (edit_user_profile_update) [NOTE: doesn’t show diff]
 * change blog setting (updated_option) [NOTE: may occasionally log annoyingly large
   diffs]

The following actions are logged for ANY user:

 * login (wp_login)
 * logout (wp_logout)
 * new user (user_register)

Some actions that change data will show what the value was before and after.

Below is an example of a log entry when the user ‘smith’ has changed the Network
site name from “WP Local Network” to “WP Local Networks”:

    ```
    [Tue, 03 Sep 2013 13:45:49 +0000] [smith:1] [update_site_option] [1] [site_name] [(WP Local Network)->(WP Local Networks)] [127.0.0.1] 
    ```

Each line in the log file will roughly follow the below example. Individual actions
may log slightly different information, but the DATETIME, USERNAME, USER_ID, ACTION,
and IP_ADDRESS sections should always be populated.

    ```
    [DATETIME] [USERNAME:USER_ID] [ACTION] [AFFECTED_OBJECT_ID] [DATA_TITLE_OR_KEY] [(VALUE_BEFORE)->(VALUE_AFTER)] [IP_ADDRESS] 
    ```

## Instalação

 1. Upload Observer to the `/wp-content/plugins/` directory.
 2. Define the ‘OBSERVER_LOG’ constant in your wp-config.php file. Example: define(‘
    OBSERVER_LOG’, ‘/var/log/wordpress_observer.log’);
 3. Network Activate the plugin through the ‘Plugins’ menu in the Network Plugins interface.

## Perguntas frequentes

None yet.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Observer” é um programa de código aberto. As seguintes pessoas contribuíram para
este plugin.

Colaboradores

 *   [ Andy Whalen ](https://profiles.wordpress.org/anukit/)

[Traduzir o “Observer” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/observer)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/observer/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/observer/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/observer/)
por [RSS](https://plugins.trac.wordpress.org/log/observer/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0.4

 * Compatible with WP 4.4.2.

#### 1.0.3

 * Added better logging for all options that store arrays, so the log shows only
   what was added or removed.

#### 1.0.2

 * Made the ‘active_plugins’ option log more readable by identifying which plugin
   was activated or deactivated.

#### 1.0.1

 * Added some more ignored option updates.

#### 1.0.0

 * Release inicial.

## Meta

 *  Versão **1.0.4**
 *  Última atualização **10 anos atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **4.5.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/observer/)
 * Tags
 * [admin](https://br.wordpress.org/plugins/tags/admin/)[audit](https://br.wordpress.org/plugins/tags/audit/)
   [logging](https://br.wordpress.org/plugins/tags/logging/)[multisite](https://br.wordpress.org/plugins/tags/multisite/)
   [network](https://br.wordpress.org/plugins/tags/network/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/observer/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/observer/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/observer/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/observer/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/observer/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/observer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/observer/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/observer/reviews/)

## Colaboradores

 *   [ Andy Whalen ](https://profiles.wordpress.org/anukit/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/observer/)