Revision 1554

tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/SimpleKRAnnotation.java (revision 1554)
171 171

  
172 172
		List<KnowledgeRepository> krs = InitializeKnowledgeRepository.get(corpus.getMainCorpus());
173 173
		typesList.clear();
174
		Log.warning("Corpus KRs: "+krs); //$NON-NLS-1$
174
		Log.fine("Corpus KRs: "+krs); //$NON-NLS-1$
175 175

  
176 176
		KnowledgeRepository kr  = KnowledgeRepositoryManager.getKnowledgeRepository(corpus.getMainCorpus().getName());
177 177
		if (kr == null) {
......
180 180
		}
181 181

  
182 182
		currentKnowledgeRepository = kr;
183
		Log.warning(" KR: "+kr); //$NON-NLS-1$
183
		Log.fine(" KR: "+kr); //$NON-NLS-1$
184 184
		List<AnnotationType> krtypes = kr.getAllAnnotationTypes();
185 185

  
186 186
		boolean createTagAnnotationType = true;
......
197 197
		}
198 198
		annotations.setViewAnnotation(tagAnnotationType);
199 199
		
200
		Log.warning(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
200
		Log.fine(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
201 201

  
202 202
		annotationArea = new GLComposite(parent, SWT.NONE, KRAnnotationUIMessages.concordanceAnnotationArea);
203 203
		annotationArea.getLayout().numColumns = 12;
......
521 521
		});
522 522

  
523 523
		// get value from combo text value
524
		Log.warning(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
524
		Log.fine(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
525 525
		final KnowledgeRepository kr = KnowledgeRepositoryManager.getKnowledgeRepository(type.getKnowledgeRepository());
526 526
		value_to_add = kr.getValue(type, svalue);
527 527

  
tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/KRAnnotation.java (revision 1554)
206 206

  
207 207
		List<KnowledgeRepository> krs = InitializeKnowledgeRepository.get(corpus.getMainCorpus());
208 208
		typesList.clear();
209
		Log.info("Corpus KRs: "+krs); //$NON-NLS-1$
209
		Log.fine("Corpus KRs: "+krs); //$NON-NLS-1$
210 210

  
211 211
		for (KnowledgeRepository kr : krs) {
212 212
			if (kr == null) continue;
213 213

  
214 214
			currentKnowledgeRepository = kr;
215
			Log.info(" KR: "+kr); //$NON-NLS-1$
215
			Log.fine(" KR: "+kr); //$NON-NLS-1$
216 216
			List<AnnotationType> krtypes = kr.getAllAnnotationTypes();
217 217

  
218 218
			typesList.addAll(krtypes);
219 219

  
220
			Log.info(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
220
			Log.fine(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
221 221
			break;
222 222
		}
223 223

  
......
735 735
		});
736 736

  
737 737
		// get value from combo text value
738
		Log.warning(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
738
		Log.fine(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
739 739
		final KnowledgeRepository kr = KnowledgeRepositoryManager.getKnowledgeRepository(type.getKnowledgeRepository());
740 740
		value_to_add = kr.getValue(type, svalue);
741 741

  
tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/WordAnnotationToolbar.java (revision 1554)
183 183
		});
184 184

  
185 185
		// get value from combo text value
186
		Log.warning(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
186
		Log.fine(NLS.bind(KRAnnotationUIMessages.lookingForTypedValueWithIdEqualsP0, svalue));
187 187
		final KnowledgeRepository kr = KnowledgeRepositoryManager.getKnowledgeRepository(type.getKnowledgeRepository());
188 188
		value_to_add = kr.getValue(type, svalue);
189 189

  
......
204 204
			return;
205 205
		}
206 206

  
207
		Log.info("AFFECT "+value_to_add+" to SELECTION="+matches); //$NON-NLS-1$ //$NON-NLS-1$
208

  
207
		Log.info(NLS.bind(KRAnnotationUIMessages.AffectP0ToSelectionEqualsP1, value_to_add, matches));
208
		
209 209
		// finally we can 'try' to create the annotations \o/
210 210
		try {
211 211
			HashMap<Match, List<Annotation>> existingAnnots = annotManager.createAnnotations(type, value_to_add, matches, job);
......
373 373

  
374 374
		List<KnowledgeRepository> krs = InitializeKnowledgeRepository.get(corpus.getMainCorpus());
375 375
		typesList.clear();
376
		Log.warning("Corpus KRs: "+krs); //$NON-NLS-1$
376
		Log.fine("Corpus KRs: "+krs); //$NON-NLS-1$
377 377

  
378 378
		currentKnowledgeRepository = KnowledgeRepositoryManager.getKnowledgeRepository(corpus.getMainCorpus().getName());
379 379
		if (currentKnowledgeRepository == null) {
......
403 403
			}
404 404
		}
405 405

  
406
		Log.warning("KR: "+currentKnowledgeRepository); //$NON-NLS-1$
406
		Log.fine("KR: "+currentKnowledgeRepository); //$NON-NLS-1$
407 407
		List<AnnotationType> krtypes = currentKnowledgeRepository.getAllAnnotationTypes();
408 408

  
409 409
		typesList.addAll(krtypes);
410 410

  
411
		Log.warning(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
411
		Log.fine(NLS.bind(KRAnnotationUIMessages.availableAnnotationTypesColonP0, typesList));
412 412

  
413 413
		annotationArea = new GLComposite(parent, SWT.NONE, KRAnnotationUIMessages.concordanceAnnotationArea);
414 414
		annotationArea.getLayout().numColumns = 12;
tmp/org.txm.annotation.kr.core/src/org/txm/annotation/kr/core/AnnotationManager.java (revision 1554)
310 310
	}
311 311

  
312 312
	public void closeAll() {
313
		Log.info("Closing annotation manager of "+corpus);
313
		Log.fine("Closing annotation manager of "+corpus);
314 314
		tempManager.close();
315 315
		cqpManager.close();
316 316
	}
tmp/org.txm.annotation.kr.core/src/org/txm/annotation/kr/core/storage/temporary/TemporaryAnnotationManager.java (revision 1554)
425 425
			//System.out.println("hasChanges query rez: "+query.getResultList());
426 426
			return query.setMaxResults(1).getResultList().size() > 0;
427 427
		} catch(Exception e) {
428
			Log.info("Error while testing corpus annotations state: "+e);
428
			Log.severe("** Error while testing corpus annotations state: "+e);
429 429
		}
430 430
		return false;
431 431
	}
tmp/org.txm.annotation.kr.core/src/org/txm/annotation/kr/core/repository/KnowledgeRepository.java (revision 1554)
207 207
	}
208 208

  
209 209
	public void reload() {
210
		Log.info("Reloading KR "+name);
210
		Log.fine("Reloading KR "+name);
211 211

  
212 212
		clearTypes();
213 213
		buildTypesAndValues();
tmp/org.txm.treetagger.binaries.feature/feature.xml (revision 1554)
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<feature
3 3
      id="org.txm.treetagger.binaries.feature"
4
      label="TreeTagger binaries"
4
      label="TreeTagger"
5 5
      version="1.0.0.qualifier"
6 6
      provider-name="Textometrie.org">
7 7

  
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 1554)
223 223
	 */
224 224
	protected void _computeFromIndexes(List<PartitionIndex> indexes) throws RWorkspaceException {
225 225

  
226
		Log.info(LexicalTableCoreMessages.bind(LexicalTableCoreMessages.info_buildingLexicalTableWith, indexes));
226
		Log.fine(LexicalTableCoreMessages.bind(LexicalTableCoreMessages.info_buildingLexicalTableWith, indexes));
227 227

  
228 228
		PartitionIndex partIndex = indexes.get(0);// FRIGO
229 229
		Partition partition = partIndex.getPartition(); // the Index is computed on a partition
tmp/org.txm.setups/index.php (revision 1554)
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head>
3
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
4
<meta name="generator" content="ReText 4.1.2">
5
<link rel="stylesheet" type="text/css" href="index_files/sf.css">
6
<title>Téléchargement de TXM 0.8.0 α2</title>
7
</head>
8
<body>
9
<hr/>
10

  
11
<h1 align="center">Téléchargement de <span class="big">&nbsp;TXM 0.8.0&nbsp;</span> α<br>
12
<!--<img src="index_files/txm-icon.jpg"><br>-->
13
<!-- <small><a href="#fr">(instructions d'installation en français ci-dessous - FR FR FR)</a></small> -->
14
</h1>
15
<div style="background-image:url('index_files/TXM-background.jpg');background-repeat: no-repeat;background-position: right;">
16

  
17
<table >
18
<td><center><a href="TXM_0.8.0a3_Win64_installer.exe"><img width="125" src="index_files/windows-icon.png"/><br>Windows 7 et plus (64 bit)</a></center></td>
19
<td><center ><a href="TXM_0.8.0a3_Linux64_installer.deb"><img width="125" src="index_files/ubuntu-icon.png"/><br>Ubuntu 16.04 et plus</a><br></center></li><td>
20
<td><center ><a href="TXM_0.8.0a3_MacOSX_installer.pkg"><img width="125" src="index_files/macosx-icon.png"/><br>Mac OS X 10.10 et plus</a><br></center></li><td>
21
</table>
22

  
23
<?php
24

  
25
echo '<h2>files</h2>'
26

  
27
try {
28
   
29
} catch (Exception $e) {
30
    echo '<p>Exception: </p>'
31
}
32

  
33
?>
34

  
35
<h2>Recettes</h2>
36
<ul>
37
<li><a href="https://groupes.renater.fr/wiki/txm-info/public/roadmap_0.8#recette_0_-_installation_multiple">Recette 0 </a>: installation</li>
38
<li><a href="https://groupes.renater.fr/wiki/txm-info/public/roadmap_0.8#recette_1_verification_de_toutes_les_fonctionnalites_de_txm_080" >Recette 1</a> : vérification des fonctionnalités</li>
39

  
40
</body>
41
</html>
tmp/org.txm.setups/SUBVERSION (revision 1554)
1
a3
1
a6
tmp/org.txm.internalview.rcp/plugin.xml (revision 1554)
42 42
         </command>
43 43
      </menuContribution>
44 44
      <menuContribution
45
            locationURI="menu:menu.corpus?after=org.txm.properties.rcp.handlers.ComputeProperties">
45
            locationURI="menu:menu.corpus?after=org.txm.edition.rcp.handlers.OpenEdition">
46 46
         <command
47 47
               commandId="org.txm.internalview.rcp.handlers.ComputeInternalView"
48 48
               icon="icons/internal_view.png"
tmp/org.txm.referencer.rcp/src/org/txm/referencer/rcp/editors/ReferencerEditor.java (revision 1554)
343 343
			try {
344 344
				lines = referencer.getLines(from, to);
345 345
			} catch (Exception e) {
346
				org.txm.rcp.utils.Logger.printStackTrace(e);
346
				org.txm.utils.logger.Log.printStackTrace(e);
347 347
				lines = new ArrayList<Line>();
348 348
			}
349 349
		} else {
......
446 446
			}
447 447
			
448 448
		} catch (CqiClientException e1) {
449
			org.txm.rcp.utils.Logger.printStackTrace(e1);
449
			org.txm.utils.logger.Log.printStackTrace(e1);
450 450
		}
451 451
		
452 452
		// references
......
466 466
			
467 467
			this.patternArea.setProperties(availables2, selectedProps);
468 468
		} catch (CqiClientException e1) {
469
			org.txm.rcp.utils.Logger.printStackTrace(e1);
469
			org.txm.utils.logger.Log.printStackTrace(e1);
470 470
			return;
471 471
		}
472 472
	}
tmp/org.txm.queryindex.rcp/src/org/txm/queryindex/rcp/commands/link/QueryIndexToLexicalTable.java (revision 1554)
114 114
//			partition = voc.getPartition();
115 115
//			property = voc.getCorpus().getProperties().get(0);
116 116
//		} catch (Exception e) {
117
//			org.txm.rcp.utils.Logger.printStackTrace(e);
117
//			org.txm.utils.logger.Log.printStackTrace(e);
118 118
//			return false;
119 119
//		}
120 120
//
......
129 129
//					.openEditor(editorInput,
130 130
//							"org.txm.rcp.editors.lexicaltable.LexicalTableEditor"); //$NON-NLS-1$
131 131
//		} catch (PartInitException e) {
132
//			org.txm.rcp.utils.Logger.printStackTrace(e);
132
//			org.txm.utils.logger.Log.printStackTrace(e);
133 133
//		} 
134 134

  
135 135
		return false;
tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/editors/CooccurrencesEditor.java (revision 1554)
595 595
							cooc.sort(currentComparator);
596 596
						} catch (CqiClientException e) {
597 597
							Log.severe(TXMCoreMessages.error_errorWhileSortingResult);
598
							org.txm.rcp.utils.Logger.printStackTrace(e);
598
							org.txm.utils.logger.Log.printStackTrace(e);
599 599
						}
600 600
					}
601 601
				});
602 602
			} catch (Exception e) {
603 603
				Log.severe(TXMCoreMessages.error_errorWhileSortingResult);
604
				org.txm.rcp.utils.Logger.printStackTrace(e);
604
				org.txm.utils.logger.Log.printStackTrace(e);
605 605
			}
606 606
			TXMEditor.packColumns(this.viewer);
607 607
		}
......
619 619
				this.propertiesSelector.setProperties(available, cooc.getProperties());
620 620
			} catch (Exception e) {
621 621
				// TODO Auto-generated catch block
622
				org.txm.rcp.utils.Logger.printStackTrace(e);
622
				org.txm.utils.logger.Log.printStackTrace(e);
623 623
			}
624 624
		}
625 625

  
tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/editors/EmpantWidget.java (revision 1554)
291 291
			}
292 292
		} catch (CqiClientException e) {
293 293
			// TODO Auto-generated catch block
294
			org.txm.rcp.utils.Logger.printStackTrace(e);
294
			org.txm.utils.logger.Log.printStackTrace(e);
295 295
		}
296 296
	}
297 297

  
......
449 449
			return this.corpus.getStructuralUnit(structs.getText());
450 450
		} catch (CqiClientException e) {
451 451
			// TODO Auto-generated catch block
452
			org.txm.rcp.utils.Logger.printStackTrace(e);
452
			org.txm.utils.logger.Log.printStackTrace(e);
453 453
		}
454 454
		return null;
455 455
	}
tmp/org.txm.backtomedia.rcp/src/org/txm/backtomedia/editors/vlcplayer/VLCPlayer.java (revision 1554)
495 495
	}
496 496

  
497 497
	protected void selectMedia() {
498
		Log.info(MessagesMP.select_file);
498
		Log.fine(MessagesMP.select_file);
499 499

  
500 500
		FileDialog fd = new FileDialog(VLCPlayer.this.getShell(), SWT.OPEN);
501 501
		fd.setText(MessagesMP.select_file_title);
......
513 513

  
514 514
		currentlyPlayed = selected;
515 515
		previouslyPlayed = selected;
516
		Log.info(MessagesMP.opening+currentlyPlayed);
516
		Log.fine(MessagesMP.opening+currentlyPlayed);
517 517
		play(currentlyPlayed, 0, 0);
518 518

  
519 519
	}
......
525 525
	 * @param endtime msec end time
526 526
	 */
527 527
	public void play(String mrl, int time, int endtime) {
528
		Log.info(MessagesMP.bind(MessagesMP.playing, new Object[]{mrl, time, endtime}));
528
		Log.fine(MessagesMP.bind(MessagesMP.playing, new Object[]{mrl, time, endtime}));
529 529
		play(mrl, ""+time/1000.0f, ""+endtime/1000.0f); //$NON-NLS-1$ //$NON-NLS-2$
530 530
	}
531 531

  
......
543 543
		start = (int)(1000*Float.parseFloat(startTime));
544 544
		end = (int)(1000*Float.parseFloat(endTime));
545 545
		
546
		Log.info(MessagesMP.bind(MessagesMP.playing, new Object[]{mrl, startTime, endTime}));
546
		Log.fine(MessagesMP.bind(MessagesMP.playing, new Object[]{mrl, startTime, endTime}));
547 547
		vlcPlayer.playMedia(mrl);
548 548
		vlcPlayer.setTime(start);
549 549
		if (new File(mrl+".srt").exists()) { //$NON-NLS-1$
tmp/org.txm.backtomedia.rcp/src/org/txm/backtomedia/commands/function/BackToMedia.java (revision 1554)
72 72
	public Object execute(ExecutionEvent event) throws ExecutionException {
73 73
		Object o = HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().getSelection();
74 74
		if (!(o instanceof IStructuredSelection)) {
75
			Log.warning(MessagesMP.BackToMedia_0);
75
			Log.fine(MessagesMP.BackToMedia_0);
76 76
			return null;
77 77
		}
78 78

  
79 79
		IWorkbenchPart page = HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().getActivePart();
80 80

  
81 81
		if (!(page instanceof ConcordanceEditor)) {
82
			Log.warning(MessagesMP.BackToMedia_1);
82
			Log.fine(MessagesMP.BackToMedia_1);
83 83
			System.out.println("Active page is not a ConcordanceEditor");
84 84
			return null;
85 85
		}
......
111 111
				StructuralUnit textS = corpus.getStructuralUnit("text"); //$NON-NLS-1$
112 112
				Property textP = textS.getProperty("id"); //$NON-NLS-1$
113 113
				String textid = line.getMatch().getValueForProperty(textP);// get text via text struc property id
114
				Log.info(MessagesMP.BackToMedia_7+textid);
114
				Log.fine(MessagesMP.BackToMedia_7+textid);
115 115

  
116 116
				if (useWordProperty) {
117 117
					String pTimeName = BackToMediaPreferences.getInstance().getString(BackToMediaPreferences.WORD_PROPERTY);
......
141 141
						return null;
142 142
					}
143 143
					sStartTime = line.getMatch().getValueForProperty(startProperty);
144
					Log.info(MessagesMP.BackToMedia_16+sStartTime);
144
					Log.fine(MessagesMP.BackToMedia_16+sStartTime);
145 145

  
146 146
					Property endProperty = structure.getProperty(endPropertyName);
147 147
					if (endProperty == null) {
......
149 149
						return null;
150 150
					}
151 151
					sEndTime = line.getMatch().getValueForProperty(endProperty);
152
					Log.info(MessagesMP.BackToMedia_19+sEndTime);
152
					Log.fine(MessagesMP.BackToMedia_19+sEndTime);
153 153
				}
154 154

  
155 155
				//				try {
......
169 169
				if (!audioFile.exists()) audioFile = new File(mediaDir, textid+".avi"); //$NON-NLS-1$
170 170
				if (!audioFile.exists()) audioFile = new File(mediaDir, textid+".mov"); //$NON-NLS-1$
171 171

  
172
				Log.info(MessagesMP.BackToMedia_25+audioFile);
172
				Log.fine(MessagesMP.BackToMedia_25+audioFile);
173 173
				if (audioFile.exists()) {
174 174
					//System.out.println("Linked editors: "+associatedEditors);
175 175
					VLCPlayerEditor editor = associatedEditors.get(ce); 
tmp/org.txm.core/src/java/org/txm/sql/SQLConnection.java (revision 1554)
28 28
		
29 29
		Class.forName(dbdrivername);
30 30
		con = DriverManager.getConnection(dbaddress, dbusername, dbpassword);
31
		Log.info("Base de données connectée ["+dbaddress+"]");
31
		Log.fine("Base de données connectée ["+dbaddress+"]");
32 32
		return con;
33 33
	}
34 34

  
tmp/org.txm.core/src/java/org/txm/Toolbox.java (revision 1554)
249 249
			// copy shared files if needed
250 250
			state = startWorkspace(monitor);
251 251

  
252
			Log.warning("Initializing logger...");
252
			Log.fine("Initializing logger...");
253 253
			Log.setLevel(Level.parse(getPreference(TBXPreferences.LOG_LEVEL)));
254 254
			Log.setPrintInConsole(TBXPreferences.getInstance().getBoolean(TBXPreferences.ADD_TECH_LOGS));
255

  
256 255
			Log.log_stacktrace_boolean = TBXPreferences.getInstance().getBoolean(TBXPreferences.LOG_STACKTRACE);
257 256
			
258 257
			if (!getPreference(TBXPreferences.LOG_DIR).isEmpty()) {
......
378 377

  
379 378
		IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(PostInstallationStep.EXTENSION_ID);
380 379

  
381
		Log.warning(TXMCoreMessages.loadingExtensions);
382
		Log.warning(Arrays.toString(config));
380
		Log.fine(TXMCoreMessages.loadingExtensions);
381
		Log.fine(Arrays.toString(config));
383 382

  
384 383
		for (IConfigurationElement e : config) {
385 384
			try {
386
				Log.warning(NLS.bind(TXMCoreMessages.evaluatingExtensionColonP0FromP1, e.getName(), e.getContributor().getName()));
385
				Log.fine(NLS.bind(TXMCoreMessages.evaluatingExtensionColonP0FromP1, e.getName(), e.getContributor().getName()));
387 386

  
388 387
				final Object o = e.createExecutableExtension("class"); //$NON-NLS-1$
389 388
				if (o instanceof PostInstallationStep) {
......
413 412
	private static void pluginsPreinstallation() {
414 413

  
415 414
		IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(PostInstallationStep.EXTENSION_ID);
416
		Log.warning(TXMCoreMessages.loadingExtensions);
417
		Log.warning(Arrays.toString(config));
415
		Log.fine(TXMCoreMessages.loadingExtensions);
416
		Log.fine(Arrays.toString(config));
418 417

  
419 418
		for (IConfigurationElement e : config) {
420 419
			try {
421
				Log.warning(NLS.bind(TXMCoreMessages.evaluatingExtensionColonP0FromP1, e.getName(), e.getContributor().getName()));
420
				Log.fine(NLS.bind(TXMCoreMessages.evaluatingExtensionColonP0FromP1, e.getName(), e.getContributor().getName()));
422 421

  
423 422
				final Object o = e.createExecutableExtension("class"); //$NON-NLS-1$
424 423
				if (o instanceof PostInstallationStep) {
......
576 575

  
577 576
		File workspaceFile = new File(txmhomedir, "corpora/.metadata");
578 577
		Version currentVersion = BundleUtils.getBundleVersion("org.txm.core");
579
		Log.info(TXMCoreMessages.bind("Current toolbox version: {0}.", currentVersion));
578
		Log.fine(TXMCoreMessages.bind("Current toolbox version: {0}.", currentVersion));
580 579
		String installedVersionString = getPreference(TBXPreferences.VERSION);
581 580
		if (installedVersionString.isEmpty()) {
582 581
			installedVersionString = "0.0.0";
583 582
		}
584 583
		Version installedVersion = new Version(installedVersionString);
585
		Log.info(TXMCoreMessages.bind("Installed toolbox version: {0}.", installedVersion));
584
		Log.fine(TXMCoreMessages.bind("Installed toolbox version: {0}.", installedVersion));
586 585
		try {
587 586
			//System.out.println("Toolbox.startWorkspace(): workspace location = " + location);
588 587

  
......
604 603

  
605 604
				setPreference(TBXPreferences.VERSION, currentVersion.toString());
606 605
			} else if (doUpdateworkspace) { // newer install
607
				Log.info("Updating Toolbox workspace...");
606
				Log.fine("Updating Toolbox workspace...");
608 607

  
609 608
				// create or update the workspace & create TXM default.xml workspace file
610 609
				Toolbox.workspace = createOrUpdate(new File(txmhomedir)); //$NON-NLS-1$
......
619 618
				workspace = Workspace.getInstance();
620 619
			}
621 620

  
622
			Log.info(NLS.bind(TXMCoreMessages.loadingWorkspaceFromFileColonP0, workspaceFile)); 
621
			Log.fine(NLS.bind(TXMCoreMessages.loadingWorkspaceFromFileColonP0, workspaceFile)); 
623 622
			state = true;
624 623

  
625 624
			if (workspace == null) { //$NON-NLS-1$
......
781 780
	 * @param state
782 781
	 */
783 782
	public static void notifyEngines(TXMResult r, String state) {
784
		Log.warning("Toolbox.notifyEngines "+r+" -> "+state);
783
		Log.fine("Toolbox.notifyEngines "+r+" -> "+state);
785 784
		for (EnginesManager<?> em : enginesManagers.values()) {
786 785
			if (em == null) continue;
787 786
			for (Engine e : em.getEngines().values()) {
tmp/org.txm.core/src/java/org/txm/core/engines/EnginesManager.java (revision 1554)
200 200
	 * @param engine
201 201
	 */
202 202
	public void setCurrentEngine(T engine) {
203
		Log.info("Setting current " + this.getEnginesDescription() + " engine to " + engine + ".");
203
		Log.finest("Setting current " + this.getEnginesDescription() + " engine to " + engine + ".");
204 204
		this.currentEngine = engine;
205 205
	}
206 206

  
tmp/org.txm.core/src/java/org/txm/core/preferences/TXMPreferences.java (revision 1554)
311 311
	 */
312 312
	public static void saveAll() {
313 313

  
314
		Log.info("Saving preferences and session results...");
314
		Log.fine("Saving preferences and session results...");
315 315
		
316 316
		try {
317 317
			preferencesRootNode.flush();
tmp/org.txm.core/src/java/org/txm/objects/BaseOldParameters.java (revision 1554)
766 766
		try {
767 767
			return Integer.parseInt(value);
768 768
		} catch (NumberFormatException e) {
769
			Log.warning("words_per_page value is not an Integer value: "+value);
769
			Log.fine("words_per_page value is not an Integer value: "+value);
770 770
			return DEFAULT_WORDSPERPAGE;
771 771
		}
772 772
	}
tmp/org.txm.core/src/java/org/txm/objects/BaseParameters.java (revision 1554)
766 766
		try {
767 767
			return Integer.parseInt(value);
768 768
		} catch (NumberFormatException e) {
769
			Log.warning("words_per_page value is not an Integer value: "+value);
769
			Log.fine("words_per_page value is not an Integer value: "+value);
770 770
			return DEFAULT_WORDSPERPAGE;
771 771
		}
772 772
	}
tmp/org.txm.core/src/java/org/txm/objects/Project.java (revision 1554)
374 374

  
375 375
		ArrayList<String> resultNodePaths = TXMPreferences.getAllResultsNodePaths(this.getParametersNodeRootPath());
376 376

  
377
		Log.info("Loading " + resultNodePaths.size() + " result(s) from project " + this.getName() + "...");
377
		Log.fine("Loading " + resultNodePaths.size() + " result(s) from project " + this.getName() + "...");
378 378

  
379 379
		for (String parametersNodePath : resultNodePaths) {
380 380

  
......
1156 1156
		//IScopeContext projectScope = new ProjectScope(projects[i]);
1157 1157
		ArrayList<String> resultNodePaths = TXMPreferences.getAllResultsNodePaths("/project/" + rcpProject.getName() + "/");
1158 1158

  
1159
		Log.info("Toolbox.initialize(): loading project " + rcpProject.getName() + "...");
1160
		Log.info("Toolbox.initialize(): " + resultNodePaths.size() + " node(s) found in project " + rcpProject.getName() + "...");
1159
		Log.fine("Toolbox.initialize(): loading project " + rcpProject.getName() + "...");
1160
		Log.fine("Toolbox.initialize(): " + resultNodePaths.size() + " node(s) found in project " + rcpProject.getName() + "...");
1161 1161

  
1162 1162
		for (String parametersNodePath : resultNodePaths) {
1163 1163

  
......
1190 1190
					continue;
1191 1191
				}
1192 1192

  
1193
				Log.info("Toolbox.initialize(): creating project " + rcpProject.getName() + ".");
1193
				Log.fine("Toolbox.initialize(): creating project " + rcpProject.getName() + ".");
1194 1194
				Class<?> cl = bundle.loadClass(className);
1195 1195
				Constructor<?> cons = cl.getConstructor(String.class);
1196 1196
				TXMResult result = (TXMResult) cons.newInstance(parametersNodePath);
tmp/org.txm.core/src/java/org/txm/stat/utils/LogMonitor.java (revision 1554)
34 34
	
35 35
	@Override
36 36
	public void beginTask(String name, int totalWork) {
37
		Log.info(this.monitorName+" -> "+name+" "+totalWork);
37
		Log.fine(this.monitorName+" -> "+name+" "+totalWork);
38 38
	}
39 39

  
40 40
	@Override
......
61 61

  
62 62
	@Override
63 63
	public void setTaskName(String name) {
64
		Log.info(this.monitorName+" -> task "+name);
64
		Log.fine(this.monitorName+" -> task "+name);
65 65
	}
66 66

  
67 67
	@Override
68 68
	public void subTask(String name) {
69
		Log.info(this.monitorName+" -> subTask "+name);
69
		Log.fine(this.monitorName+" -> subTask "+name);
70 70
		
71 71
	}
72 72

  
tmp/org.txm.utils/src/org/txm/utils/logger/TXMLogger.java (revision 1554)
49 49
import java.util.logging.LogRecord;
50 50
import java.util.logging.Logger;
51 51

  
52
// TODO: Auto-generated Javadoc
52

  
53 53
/**
54 54
 * no instanciation to do manage better Exceptions' log.
55 55
 *
tmp/org.txm.utils/src/org/txm/utils/logger/Log.java (revision 1554)
57 57
	/** The fh. */
58 58
	protected static FileHandler fh;
59 59

  
60
	/** The default flag. */
61
	protected static int STANDARD = 1;
62

  
63
	/** The flags. */
64
	public static final int CONSOLE = 1;
60
	/** The CONSOLE flags indicates if messages with level < INFO are printed in console*/
61
	public static boolean CONSOLE = false;
65 62
	
66 63
	/** The caller information. */
67 64
	protected static String sourceMethodName;
......
73 70
		//System.out.println("INIT TXMLOGGER");
74 71
		txm = new TXMLogger("TXMFileLogger", null);
75 72
		txm.setLevel(Level.SEVERE); // default is to show errors
73
		txm.setUseParentHandlers(true);
76 74
		frameList = new ArrayList<String>();
77 75
		frameList.add(id);
78 76
	}
......
91 89
	 * 
92 90
	 * @param b the new prints the in file
93 91
	 */
94
	public static void setPrintInFile(boolean b) {
92
	public static String setPrintInFile(boolean b) {
95 93
		// System.out.println("set print in file: "+b);
94
		String filename = null;
96 95
		if (b) {
97
			if (txm.getHandlers().length == 0) {
98 96
				try {
99 97
					SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd"); //$NON-NLS-1$
100
					String filename = "/tmp/TXM-" + f.format(new Date()) + ".log"; //$NON-NLS-1$ //$NON-NLS-2$
101 98
					
99
					filename = System.getProperty("java.io.tmpdir")+"/TXM-" + f.format(new Date()) + ".log"; //$NON-NLS-1$ //$NON-NLS-2$
100
					
102 101
					fh = new FileHandler(filename, false);
103
					System.out.println(UtilsCoreMessages.Log_3
104
							+ new File(filename).getAbsolutePath());
102
					System.out.println(UtilsCoreMessages.Log_3 + new File(filename).getAbsolutePath());
105 103
					fh.setFormatter(new SimpleFormatter());
106 104
					fh.setEncoding("UTF-8"); //$NON-NLS-1$
107 105
					txm.addHandler(fh);
......
110 108
				} catch (IOException e) {
111 109
					printStackTrace(e);
112 110
				}
113
			}
114 111
		} else {
115 112
			txm.removeHandler(fh);
116 113
		}
114
		return filename;
117 115
	}
118 116

  
119 117
	static SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd"); //$NON-NLS-1$
......
190 188
	 * @param b the new prints the in console
191 189
	 */
192 190
	public static void setPrintInConsole(boolean b) {
193
		txm.setUseParentHandlers(b);
191
		CONSOLE = b;
194 192
	}
195

  
196
	/**
197
	 * Get the standard flag currently used
198
	 * 
199
	 * @return the standard flag
200
	 */
201
	public static int getStdFlag() {
202
		return STANDARD;
203
	}
204

  
205
	/**
206
	 * Set the standard flag to use
207
	 * 
208
	 * @param flag
209
	 */
210
	public static void setStdFlag(int flag) {
211
		STANDARD = flag;
212
	}
213 193
	
214 194
	/**
215
	 * Reset the standard flag to the console
195
	 * Sets the prints the in console.
216 196
	 * 
197
	 * @param b the new prints the in console
217 198
	 */
218
	public static void resetStdFlag() {
219
		STANDARD = CONSOLE;
199
	public static boolean getPrintInConsole() {
200
		return txm.getUseParentHandlers();
220 201
	}
221 202

  
222
	/**
223
	 * Add a flag to the standard flag
224
	 * 
225
	 * @param flag
226
	 */
227
	public static void addFlag(int flag) {
228
		STANDARD |= flag;
229
	}
230

  
231
	/**
232
	 * Remove a flag from the standard flag
233
	 * 
234
	 * @param flag
235
	 */
236
	public static void removeFlag(int flag) {
237
		STANDARD ^= flag;
238
	}
239

  
240
	/**
241
	 * Log a severe message using the default flag
242
	 * 
243
	 * @param message
244
	 */
245
	public static void severe(String message) {
246
		severe(message, STANDARD);
247
	}
248 203
	
249 204
	/**
250 205
	 * Log a severe message using the default flag
......
260 215
	 * Log a severe message
261 216
	 * 
262 217
	 * @param message
263
	 * @param flag where to print the message
264 218
	 */
265
	public static void severe(String message, int flag) {
266
		if ((flag & CONSOLE) == CONSOLE) {
267
			printConsoleError(message);
219
	public static void severe(String message) {
220
		if (Level.SEVERE.intValue() >= txm.getLevel().intValue()) {
221
			System.out.println(message);
268 222
		}
269 223
		txm.severe(message);
270 224
	}
......
272 226
	/**
273 227
	 * Log a warning message using the default flag
274 228
	 * 
275
	 * @param message
276
	 */
277
	public static void warning(String message) {
278
		warning(message, STANDARD);
279
	}
280
	
281
	/**
282
	 * Log a warning message using the default flag
283
	 * 
284 229
	 * @param t the error to print
285 230
	 */
286 231
	public static void warning(Throwable e) {
......
292 237
	 * Log a warning message
293 238
	 * 
294 239
	 * @param message
295
	 * @param flag where to print the message
296 240
	 */
297
	public static void warning(String message, int flag) {
298
		if ((flag & CONSOLE) == CONSOLE) 
299
			printConsoleWarning(message);
241
	public static void warning(String message) {
242
		if (Level.WARNING.intValue() >= txm.getLevel().intValue()) {
243
			System.out.println(message);
244
		}
300 245
		txm.warning(message);
301 246
	}
302 247

  
303
	/**
304
	 * Log an info message using the default flag
305
	 * 
306
	 * @param message
307
	 */
308
	public static void info(String message) {
309
		info(message, STANDARD);
310
	}
311 248
	
312 249
	/**
313 250
	 * Log an info message using the default flag
......
325 262
	 * @param message
326 263
	 * @param flag where to print the message
327 264
	 */
328
	public static void info(String message, int flag) {
329
		if ((flag & CONSOLE) == CONSOLE)
330
			printConsoleInfo(message);
265
	public static void info(String message) {
266
		if (Level.INFO.intValue() >= txm.getLevel().intValue()) {
267
			System.out.println(message);
268
		}
331 269
		txm.info(message);
332 270
	}
271

  
333 272
	
334 273
	/**
335
	 * Log an info message using the default flag
274
	 * Log an info message
336 275
	 * 
337 276
	 * @param message
277
	 * @param flag where to print the message
338 278
	 */
339
	public static void fine(String message) {
340
		fine(message, STANDARD);
341
	}
342

  
343
	/**
344
	 * Log an info message using the default flag
345
	 * 
346
	 * @param message
347
	 */
348 279
	public static void finest(String message) {
349
		finest(message, STANDARD);
280
		if (CONSOLE && Level.FINEST.intValue() >= txm.getLevel().intValue()) {
281
			System.out.println(message);
282
		}
283
		txm.finest(message);
350 284
	}
351 285
	
352 286
	/**
......
355 289
	 * @param message
356 290
	 * @param flag where to print the message
357 291
	 */
358
	public static void finest(String message, int flag) {
359
		if ((flag & CONSOLE) == CONSOLE)
360
			printConsoleInfo(message);
361
		txm.finest(message);
292
	public static void fine(String message) {
293
		if (CONSOLE && Level.FINE.intValue() >= txm.getLevel().intValue()) {
294
			System.out.println(message);
295
		}
296
		txm.fine(message);
362 297
	}
363 298
	
364 299
	/**
......
367 302
	 * @param message
368 303
	 * @param flag where to print the message
369 304
	 */
370
	public static void fine(String message, int flag) {
371
		if ((flag & CONSOLE) == CONSOLE)
372
			printConsoleInfo(message);
373
		txm.fine(message);
305
	public static void finer(String message) {
306
		if (CONSOLE && Level.FINER.intValue() >= txm.getLevel().intValue()) {
307
			System.out.println(message);
308
		}
309
		txm.finer(message);
374 310
	}
375 311

  
376 312
	
......
396 332
		return txm.getLevel().intValue() <= Level.INFO.intValue();
397 333
	}
398 334
	
399
	/**
400
	 * Print an error message in the err output
401
	 * 
402
	 * @param message
403
	 */
404
	protected static void printConsoleError(String message) {
405
		if (Level.SEVERE.intValue() < txm.getLevel().intValue()) {
406
            return;
407
        }
408
		System.err.println(message);
409
//		txm.log(Level.SEVERE, message);
410
	}
411 335

  
412 336
	/**
413
	 * Print a warning message in the std output
414
	 * 
415
	 * @param message
416
	 */
417
	protected static void printConsoleWarning(String message) {
418
		if (Level.WARNING.intValue() < txm.getLevel().intValue()) {
419
            return;
420
        }
421
		System.out.println(message);
422
//		txm.log(Level.WARNING, message);
423
	}
424

  
425
	/**
426
	 * Print an info message in the std output
427
	 * 
428
	 * @param message
429
	 */
430
	protected static void printConsoleInfo(String message) {
431
		if (Level.INFO.intValue() < txm.getLevel().intValue()) {
432
            return;
433
        }
434
		System.out.println(message);
435
//      txm.log(Level.INFO, message);	
436
	}
437

  
438
	/**
439 337
	 * Method from LogRecord to determine if a frame is a logger frame
440 338
	 * 
441 339
	 * @param cname the frame
tmp/org.txm.utils/src/org/txm/utils/Sh.java (revision 1554)
124 124
			org.txm.utils.logger.Log.printStackTrace(e1);
125 125
		}
126 126
		if (e != 0) {
127
			System.err.println(UtilsCoreMessages.Sh_4
127
			Log.fine(UtilsCoreMessages.Sh_4
128 128
					+ e
129 129
					+ " at " //$NON-NLS-1$
130 130
					+ DateFormat.getDateInstance(DateFormat.FULL, Locale.UK)
......
152 152
		try {
153 153
			process = pb.start();
154 154
		} catch (IOException e) {
155
			Log.info(Log.toString(e));
155
			Log.severe(Log.toString(e));
156 156
		}
157 157
		InputStream is = process.getInputStream();
158 158
		InputStreamReader isr = new InputStreamReader(is);
......
169 169
			org.txm.utils.logger.Log.printStackTrace(e1);
170 170
		}
171 171
		if (e != 0) {
172
			Log.info(UtilsCoreMessages.Sh_4
172
			Log.fine(UtilsCoreMessages.Sh_4
173 173
					+ e
174 174
					+ " at " //$NON-NLS-1$
175 175
					+ DateFormat.getDateInstance(DateFormat.FULL, Locale.UK)
tmp/org.txm.utils/src/org/txm/utils/messages/messages_fr.properties (revision 1554)
3 3
Localizer_0=[Traduction manquante] 
4 4
Pair_1=\ devrait valoir vrai.
5 5
Localizer_1=messages
6
FileCopy_0=** Copie de fichiers \: �chec d'acc�s � la source \: 
7
FileCopy_2=** Copie de fichiers \: droits d'acc�s insuffisants � la source \: 
6
FileCopy_0=** Copie de fichiers \: Échec d'accès à la source \: 
7
FileCopy_2=** Copie de fichiers \: droits d'accès insuffisants à la source \: 
8 8
ExecTimer_3=h, 
9
FileCopy_4=** Copie de fichiers \: �chec de cr�ation du dossier \: 
9
FileCopy_4=** Copie de fichiers \: Échec de création du dossier \: 
10 10
Pair_0=\ devrait valoir faux.
11 11
ExecTimer_0=\ msec
12 12
ExecTimer_2=\ min et 
13 13
ExecTimer_1=\ sec
14
Sh_4=Le processus a termin avec le code d'erreur \: 
15
Log_5=criture des messages dans 
14
Sh_4=Le processus a terminé avec le code d'erreur \: 
15
Log_5=Écriture des messages dans 
16 16
LS_1=\ n'est pas un dossier.
17 17
Log_3=Copie des messages dans 
18 18
LS_0=Erreur \: 
tmp/org.txm.utils/src/org/txm/utils/StreamHog.java (revision 1554)
100 100
				}
101 101
				
102 102
				printMessage(line);
103
				Log.info(this.getName()+">" + line); //$NON-NLS-1$
103
				Log.fine(this.getName()+">" + line); //$NON-NLS-1$
104 104
				lastline = line;
105 105

  
106 106
			}
tmp/org.txm.utils/.settings/org.eclipse.core.resources.prefs (revision 1554)
1
eclipse.preferences.version=1
2
encoding//src/org/txm/utils/messages/messages_fr.properties=UTF-8
0 3

  
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/commands/DoInstallStep.java (revision 1554)
64 64
			return;
65 65
		}
66 66
		
67
		Log.warning(Messages.DoInstallStep_18);
67
		Log.fine(Messages.DoInstallStep_18);
68 68
		URSPreferences.getInstance().put(URSPreferences.VERSION, currentVersion.toString());
69 69
		return;
70 70
	}
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/UnitToolbar.java (revision 1554)
848 848
	 * @param e
849 849
	 */
850 850
	public void onIdentifiantComboSelected(Object e) {
851
		Log.info(NLS.bind(Messages.UnitToolbar_51, navigationField.getSelectionIndex()));
851
		Log.fine(NLS.bind(Messages.UnitToolbar_51, navigationField.getSelectionIndex()));
852 852
		int i = navigationField.getSelectionIndex();
853 853
		if (i <= 0) {
854 854
			if (previousSelectedUnitIDS != null) {
......
891 891
	}
892 892

  
893 893
	protected void onTypecomboSelected(SelectionEvent e) {
894
		Log.info(NLS.bind(Messages.UnitToolbar_52, typeCombo.getSelectionIndex()));
894
		Log.fine(NLS.bind(Messages.UnitToolbar_52, typeCombo.getSelectionIndex()));
895 895
		reloadIdentifiants();
896 896

  
897 897
		if (typeCombo.getSelectionIndex() > 0) {
......
916 916
	 * @param unite the unite to select, may be null
917 917
	 */
918 918
	public void reloadIdentifiants() {
919
		Log.info(Messages.UnitToolbar_53);
919
		Log.fine(Messages.UnitToolbar_53);
920 920
		String type0 = typeCombo.getText();
921 921
		unites = vue.getUnitesAVoir(type0);
922 922
		String[] identifiants = vue.getIdUnites(type0, unites);
......
1051 1051
		if (startend == null) return false;
1052 1052

  
1053 1053
		int pos = startend[0];
1054
		Log.warning(TXMCoreMessages.bind(Messages.UnitToolbar_60, unite.getDeb(), unite.getFin(), ids, pos));
1054
		Log.fine(TXMCoreMessages.bind(Messages.UnitToolbar_60, unite.getDeb(), unite.getFin(), ids, pos));
1055 1055

  
1056 1056
		if (mode == 1) { // left
1057 1057
			analecCorpus.modifBornesUnite(unite, pos, unite.getFin());
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/SchemaToolbar.java (revision 1554)
646 646
	}
647 647

  
648 648
	protected void onIdentifiantComboSelected(SelectionEvent e) {
649
		Log.info("Identifiants SelectionListener: "+navigationField.getSelectionIndex());
649
		Log.fine("Identifiants SelectionListener: "+navigationField.getSelectionIndex());
650 650
		int iSchema = navigationField.getSelectionIndex();
651 651
		if (iSchema <= 0) {
652 652
			if (previousSelectedSchemaIDS != null) {
......
672 672
	}
673 673

  
674 674
	protected void onTypeComboSelected(SelectionEvent e) {
675
		Log.info("Types SelectionListener: "+typeCombo.getSelectionIndex());
675
		Log.fine("Types SelectionListener: "+typeCombo.getSelectionIndex());
676 676
		reloadIdentifiants();
677 677
		if (typeCombo.getSelectionIndex() > 0) {
678 678
			//String type = unitesAVoir[typeCombo.getSelectionIndex()-1];
......
698 698
	 * @param unite the unite to select, may be null
699 699
	 */
700 700
	public void reloadIdentifiants() {
701
		Log.info("Reloading identifiants combo values.");
701
		Log.fine("Reloading identifiants combo values.");
702 702
		String type0 = typeCombo.getText();
703 703
		schemas = vue.getSchemasAVoir(type0);
704 704
		String[] identifiants = vue.getIdSchemas(type0, schemas);
......
712 712
	 * @param unite the unite to select, may be null
713 713
	 */
714 714
	public void reloadIdentifiantsUnites() {
715
		Log.info("Reloading unites combo values.");
715
		Log.fine("Reloading unites combo values.");
716 716
		int iSchema = navigationField.getSelectionIndex();
717 717
		if (iSchema <= 0) {
718 718
			subNavigationField.setIdentifiants(new String[0], null, null);
......
845 845
		if (startend == null) return false;
846 846

  
847 847
		int pos = startend[0];
848
		Log.warning("Updating annotation limits: "+unite.getDeb()+" -> "+unite.getFin()+" with word id="+id+" with pos="+pos);
848
		Log.fine("Updating annotation limits: "+unite.getDeb()+" -> "+unite.getFin()+" with word id="+id+" with pos="+pos);
849 849
		if ((pos == unite.getDeb() || pos == unite.getFin()) && (unite.getFin() - unite.getDeb()) == 1) {
850 850
			analecCorpus.modifBornesUnite(unite, pos, pos);
851 851
		} else if (pos <= unite.getDeb()) {
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/URSAnnotationToolbar.java (revision 1554)
135 135
		String text_name = panel.getEdition().getText().getName();
136 136
		String[] sel = panel.getWordSelection();
137 137
		if (sel == null) {
138
			Log.info("Error: no word selection");
138
			Log.severe("** Error: no word selection");
139 139
			return null;
140 140
		}
141 141
		//System.out.println("Selection="+sel);
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/view/ElementPropertiesView.java (revision 1554)
315 315
			fields.getParent().layout();
316 316
		}
317 317

  
318
		Log.info("Refreshing unit properties view with: "+newElement);
318
		Log.fine("Refreshing unit properties view with: "+newElement);
319 319
		this.toolbar = toolbar;
320 320
		this.element = newElement;
321 321
		for (Combo t : textWidgets.keySet()) {
tmp/org.txm.wordcloud.core/src/org/txm/wordcloud/core/functions/WordCloud.java (revision 1554)
195 195
		}
196 196

  
197 197
		if (installFailed) {
198
			System.out.println(WordCloudCoreMessages.error_rPackagesInstallationFailed);
198
			Log.severe(WordCloudCoreMessages.error_rPackagesInstallationFailed);
199 199
			return false;
200 200
		} else {
201
			Log.info(WordCloudCoreMessages.info_rPackagesLoaded);
201
			Log.fine(WordCloudCoreMessages.info_rPackagesLoaded);
202 202
			return true;
203 203
		}
204 204
	}
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreateSubCorpus.java (revision 1554)
144 144
					} catch (ThreadDeath td) {
145 145
						return Status.CANCEL_STATUS;
146 146
					} catch (CqiClientException e) {
147
						org.txm.rcp.utils.Logger.printStackTrace(e);
147
						org.txm.utils.logger.Log.printStackTrace(e);
148 148
						Log.severe(e.toString());
149 149
						
150 150
						try {
151 151
							System.out.println(NLS.bind(CQPSearchEngineCoreMessages.lastCQPErrorColon, CQPSearchEngine.getCqiClient().getLastCQPError()));
152 152
						} catch (Exception e1) {
153 153
							System.out.println(TXMUIMessages.failedToGetLastCQPErrorColon+e1);
154
							org.txm.rcp.utils.Logger.printStackTrace(e1);
154
							org.txm.utils.logger.Log.printStackTrace(e1);
155 155
						}
156 156
					} finally {
157 157
						monitor.done();
tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle.properties (revision 1554)
1 1
#Properties file for org.txm.searchengine.cqp.rcp
2 2
Bundle-Name = CQP RCP
3 3
command.label.36=Add Project
4
command.label.37=Add Base
5 4
command.label.65=Delete
6 5
command.label.148=Open biblio
7 6
command.name.52=Corpus in binary format...
tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_ru.properties (revision 1554)
7 7

  
8 8
command.label.36 = \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442
9 9

  
10
command.label.37 = \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0431\u0430\u0437\u0443
11 10

  
12 11
command.label.65 = Delete
13 12

  
tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_fr.properties (revision 1554)
1 1
#Properties file for org.txm.searchengine.cqp.rcp
2 2
Bundle-Name = CQP RCP
3
command.label.37=Ajouter une Base
4 3
command.label.36=Ajouter un Projet
5 4
command.label.65=Delete
6 5
command.label.148=Open biblio
tmp/org.txm.searchengine.cqp.rcp/plugin.xml (revision 1554)
50 50
               </reference>
51 51
            </visibleWhen>
52 52
         </command>
53
         <command
54
               commandId="org.txm.rcp.commands.workspace.AddBase"
55
               label="%command.label.37"
56
               style="push">
57
            <visibleWhen
58
                  checkEnabled="false">
59
               <reference
60
                     definitionId="OneProjectSelected">
61
               </reference>
62
            </visibleWhen>
63
         </command>       
64 53
         <separator
65 54
               name="org.txm.rcp.separator1">
66 55
         </separator>
tmp/org.txm.searchengine.cqp.core/src/org/txm/importer/cwb/CwbProcess.java (revision 1554)
116 116
	 */
117 117
	protected boolean run(List<String> cmd, boolean monitorOutput, boolean waitFor) throws ServerNotFoundException, InterruptedException, IOException {
118 118
		
119
		Log.info(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.startingProcessWithCommandColon, StringUtils.join(cmd, " "))); //$NON-NLS-1$ 
119
		Log.fine(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.startingProcessWithCommandColon, StringUtils.join(cmd, " "))); //$NON-NLS-1$ 
120 120
		
121 121
		//System.out.println(StringUtils.join(cmd, " "));
122 122
		for (String s : cmd) {
......
157 157
		}.start();
158 158

  
159 159
		if (waitFor) {
160
			Log.warning(TXMCoreMessages.bind("Waiting for end of process: {0}...", name));
160
			Log.fine(TXMCoreMessages.bind("Waiting for end of process: {0}...", name));
161 161
			endProcess();
162 162
		}
163 163
		
tmp/org.txm.searchengine.cqp.core/src/org/txm/importer/cwb/PatchCwbRegistry.java (revision 1554)
125 125
		}
126 126
		corpusEncoding = corpusEncoding.toLowerCase();
127 127

  
128
		Log.info(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.updating, corpus, corpusEncoding));
128
		Log.fine(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.updating, corpus, corpusEncoding));
129 129
		
130 130
		String line = reader.readLine();
131 131
		while (line != null) {
......
163 163

  
164 164
		corpusLanguage = corpusLanguage.toLowerCase();
165 165
		
166
		Log.info(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.updatingP0CorpusLanguageToP1, corpus, corpusLanguage));
166
		Log.fine(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.updatingP0CorpusLanguageToP1, corpus, corpusLanguage));
167 167
		
168 168
		String line = reader.readLine();
169 169
		while (line != null) {
......
210 210
		BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(registryfile), encoding));
211 211
		OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(temp), encoding);
212 212

  
213
		Log.info(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.addingAlignmentAttributeToCorpusP0RegistryColonP1, corpus, targetcorpus));
213
		Log.fine(TXMCoreMessages.bind(CQPSearchEngineCoreMessages.addingAlignmentAttributeToCorpusP0RegistryColonP1, corpus, targetcorpus));
214 214
		
215 215
		String line = reader.readLine();
216 216
		while (line != null) {
......
251 251
		String datapath = ""; //$NON-NLS-1$
252 252
		
253 253
		if (!registryfile.exists()) {
254
			Log.warning(CQPSearchEngineCoreMessages.cantFindRegistryFile);
254
			Log.fine(CQPSearchEngineCoreMessages.cantFindRegistryFile);
255 255
			return false;
256 256
		}
257 257

  
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/NetCqiClient.java (revision 1554)
739 739
				this.socket.connect(serverAddress);
740 740
				this.streamToServer = new DataOutputStream(this.socket.getOutputStream());
741 741
				this.streamFromServer = new DataInputStream(this.socket.getInputStream());
742
				Log.info(CQPSearchEngineCoreMessages.searchEngineLaunched);
742
				Log.fine(CQPSearchEngineCoreMessages.searchEngineLaunched);
743 743
				return;
744 744
			} catch (IOException e) {
745 745
				System.err.print("."); //$NON-NLS-1$
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/CQPCorpus.java (revision 1554)
289 289
		}
290 290
		long end = System.currentTimeMillis();
291 291
		
292
		Log.info(TXMCoreMessages.bind(SearchEngineCoreMessages.subcorpusP0CreatedInP1Ms, subcorpusName, (end - start)));
292
		Log.fine(TXMCoreMessages.bind(SearchEngineCoreMessages.subcorpusP0CreatedInP1Ms, subcorpusName, (end - start)));
293 293

  
294 294
//		if (!registered) subcorpus.registerToParent();
295 295
		return subcorpus;
......
448 448
	 *             the cqi client exception
449 449
	 */
450 450
	public void dropQueryResult(QueryResult queryResult) throws CqiClientException {
451
		Log.info(SearchEngineCoreMessages.deletingQueryResultP0 + queryResult.getName());
451
		Log.fine(SearchEngineCoreMessages.deletingQueryResultP0 + queryResult.getName());
452 452
		try {
453 453
			CorpusManager.getCorpusManager().getCqiClient().dropSubCorpus(queryResult.getQualifiedCqpId());
454 454
		} catch (Exception e) {
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/MainCorpus.java (revision 1554)
598 598
				CQPSearchEngine.getCqiClient().dropCorpus(getID());
599 599
			}
600 600
		} catch (Exception e) {
601
			Log.info(e);
601
			Log.fine(e.getLocalizedMessage());
602
			Log.printStackTrace(e);
602 603
		}
603 604

  
604 605
		DeleteDir.deleteDirectory(dataDirectory);
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Part.java (revision 1554)
80 80
	@Override
81 81
	protected boolean _compute() throws Exception {
82 82

  
83
		Log.info(NLS.bind(SearchEngineCoreMessages.info_partXCreatedWithQueryZ, this.getName(), this.pQuery));
83
		Log.fine(NLS.bind(SearchEngineCoreMessages.info_partXCreatedWithQueryZ, this.getName(), this.pQuery));
84 84
		
85 85
		long start = System.currentTimeMillis();
86 86
		try {
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Partition.java (revision 1554)
134 134
			this.userName = "no_name";
135 135
		}
136 136

  
137
		Log.info(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.getParent(), this.userName));
137
		Log.fine(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.getParent(), this.userName));
138 138
		long start = System.currentTimeMillis();
139 139
		for (int i = 0; i < pQueries.size(); i++) {
140 140
			String queryS = pQueries.get(i);
......
149 149
			new Part(this, partName, queryS);
150 150
		}
151 151
		long end = System.currentTimeMillis();
152
		Log.info(NLS.bind(SearchEngineCoreMessages.info_partitionCreatedInXMs, this.userName, (end - start)));
152
		Log.fine(NLS.bind(SearchEngineCoreMessages.info_partitionCreatedInXMs, this.userName, (end - start)));
153 153

  
154 154
		return pQueries.size() > 0;
155 155
	}
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/CQPSearchEngine.java (revision 1554)
58 58

  
59 59
		useNetCQi = CQPLibPreferences.getInstance().getBoolean(CQPLibPreferences.CQI_NETWORK_MODE);
60 60

  
61
		Log.warning("Killing CQP processes if any.");
61
		Log.fine("Killing CQP processes if any.");
62 62
		killSearchEngine();
63 63

  
64 64
		boolean remote = CQPLibPreferences.getInstance().getBoolean(CQPLibPreferences.CQI_SERVER_IS_REMOTE);
......
69 69
		String path_separator = System.getProperty("path.separator");
70 70
		File wl = Toolbox.workspace.getLocation();
71 71
		if (wl == null) {
72
			System.out.println("Error: Toolbox is not correctly initialized. Aborting CQP engine start...");
72
			Log.severe("Error: Toolbox is not correctly initialized. Aborting CQP engine start...");
73 73
			return false;
74 74
		}
75 75
		for (File binDir : wl.listFiles(IOUtils.FILTER_HIDDEN)) {
......
92 92
					try {
93 93
						PatchCwbRegistry.patch(registryFile, dataDirectory);
94 94
					} catch (IOException e) {
95
						System.out.println(TXMCoreMessages.bind("Error while updating registry file {0}.", registryFile));
95
						Log.severe(TXMCoreMessages.bind("Error while updating registry file {0}.", registryFile));
96 96
						Log.printStackTrace(e);
97 97
						return false;
98 98
					}
......
104 104

  
105 105
		String init_path = CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_PATH_TO_INIT_FILE);
106 106
		if (init_path.length() > 0 && !new File(init_path).exists()) {
107
			System.out.println(TXMCoreMessages.bind("Warning: the given CQP init file path can not be found in {0}.", init_path));
107
			Log.warning(TXMCoreMessages.bind("Warning: the given CQP init file path can not be found in {0}.", init_path));
108 108
			init_path = null;
109 109
		}
110 110

  
......
126 126
				String exec_path = CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE);
127 127

  
128 128
				if (exec_path == null || exec_path.length() == 0 || new File(exec_path).exists()) {
129
					System.out.println(TXMCoreMessages.bind("Error: the '{0}' preference is not set.", CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE));
129
					Log.severe(TXMCoreMessages.bind("Error: the '{0}' preference is not set.", CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE));
130 130
				}
131 131
//				if (new File(exec_path).exists()) {
132 132
//					System.out.println("Error: the '"+CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE+"' preference is not set.");
......
181 181
		}
182 182

  
183 183
		if (state == false) {
184
			System.out.println(TXMCoreMessages.errorWhileConnectingToSearchEngine); 
184
			Log.severe(TXMCoreMessages.errorWhileConnectingToSearchEngine); 
185 185
			if (cqiClient instanceof NetCqiClient) {
186
				System.out.println(TXMCoreMessages.bind(TXMCoreMessages.wrongLoginOrPasswordOrPortColon, CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_LOGIN),
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff