Author Topic: [résolu]table : og_application_logs  (Read 3193 times)

piwi

  • Freshman
  • *
  • Posts: 40
    • View Profile
    • Email
[résolu]table : og_application_logs
« on: June 01, 2009, 04:12:04 am »
Bonjour à tous

en allant faire un sauvegarde des la BD OpenGoo j'ai constater que en 4 jours d'utilisation exclusivement d'import des contacts et sociétés la table "og_application_logs" avait déjà enregistrer 12500 enregistrements.

A quoi sert cette table ? de logs modifications dans OpenGoo ?
Comment la visualiser via l'interface administrateur ?
peut-on la vider ? faisable ou pas ? et comment ?

Merci beaucoup
« Last Edit: June 01, 2009, 12:31:41 pm by piwi »
Piwi
-----
La chèvre mange là où elle est attachée.

oxydum

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: table : og_application_logs
« Reply #1 on: June 01, 2009, 10:15:30 am »
Salut Piwi,

Cette table "og_application_logs" est celle des historiques. Tout objet dispose d'une action "Voir l'historique" et affiche ainsi un sous-ensemble de cette table.
Pour la vider, aucun problème, tu vas dans ton phpmyadmin, tu sélectionnes ta table et tu cliques sur "Vider"

Au cas où, la structure de la table est celle-ci :
DROP TABLE IF EXISTS `og_application_logs`;
CREATE TABLE IF NOT EXISTS `og_application_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `taken_by_id` int(10) unsigned DEFAULT NULL,
  `rel_object_id` int(10) NOT NULL DEFAULT '0',
  `object_name` text COLLATE utf8_unicode_ci,
  `rel_object_manager` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `created_on` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_by_id` int(10) unsigned DEFAULT NULL,
  `action` enum('upload','open','close','delete','edit','add','trash','untrash','subscribe','unsubscribe','tag','comment','link','unlink') COLLATE utf8_unicode_ci DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_silent` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `log_data` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;


Il n'y a aucune autre incidence que celle de perdre tous les historiques.
De rien  ;)
Propulsé par OpenGoo 1.5.3 sur Xampp Windows XP SP3

oxydum

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: table : og_application_logs
« Reply #2 on: June 01, 2009, 10:24:33 am »
(et bravo pour le 300ième 'post')  :P
 ;D ;D ;D ;D ;D
« Last Edit: June 01, 2009, 10:28:10 am by oxydum »
Propulsé par OpenGoo 1.5.3 sur Xampp Windows XP SP3

piwi

  • Freshman
  • *
  • Posts: 40
    • View Profile
    • Email
Re: table : og_application_logs
« Reply #3 on: June 01, 2009, 12:31:10 pm »
Génial
merci beaucoup
Piwi
-----
La chèvre mange là où elle est attachée.